![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <qaudiosystem_platform_stream_support_p.h>
Public Types | |
| using | AudioCallback = QPlatformAudioSource::AudioCallback |
| enum class | ShutdownPolicy |
Public Member Functions | |
| void | requestStop () |
Protected Member Functions | |
| QPlatformAudioSourceStream (QAudioDevice, const QAudioFormat &, std::optional< int > ringbufferSize, std::optional< NativePeriodFrames > nativePeriodFrames, float volume) | |
| ~QPlatformAudioSourceStream () | |
| uint64_t | process (QSpan< const std::byte > hostBuffer, qsizetype numberOfFrames, std::optional< NativeSampleFormat >={}) noexcept Q_DECL_NONBLOCKING_FUNCTION |
| qsizetype | bytesReady () const |
| std::chrono::microseconds | processedDuration () const |
| void | setQIODevice (QIODevice *device) |
| void | createQIODeviceConnections (QIODevice *device) |
| void | disconnectQIODeviceConnections () |
| QIODevice * | createRingbufferReaderDevice () |
| void | pushToIODevice () |
| bool | deviceIsRingbufferReader () const |
| void | finalizeQIODevice (ShutdownPolicy) |
| void | emptyRingbuffer () |
| virtual void | updateStreamIdle (bool)=0 |
| template<typename ParentType> | |
| void | handleIOError (ParentType *parent) |
| QThread * | thread () const |
| template<typename Functor> | |
| void | invokeOnAppThread (Functor &&ff) |
| Protected Member Functions inherited from QtMultimediaPrivate::QPlatformAudioIOStream | |
| QPlatformAudioIOStream (QAudioDevice m_audioDevice, QAudioFormat m_format, std::optional< int > ringbufferSize, std::optional< NativePeriodFrames > nativePeriodFrames, float volume) | |
| ~QPlatformAudioIOStream () | |
| void | setVolume (float) |
| float | volume () const |
| template<typename Functor> | |
| auto | visitRingbuffer (Functor &&ff) |
| template<typename Functor> | |
| auto | visitRingbuffer (Functor &&ff) const |
| void | prepareRingbuffer (std::optional< int > ringbufferSize) |
| int | ringbufferSizeInBytes () |
| void | requestStop () |
| bool | isStopRequested (std::memory_order memory_order=std::memory_order_relaxed) const |
Additional Inherited Members | |
| Protected Types inherited from QtMultimediaPrivate::QPlatformAudioIOStream | |
| using | NativeSampleFormat = QAudioHelperInternal::NativeSampleFormat |
| using | QAutoResetEvent = QtPrivate::QAutoResetEvent |
| enum class | ShutdownPolicy : uint8_t { DrainRingbuffer , DiscardRingbuffer } |
| Static Protected Member Functions inherited from QtMultimediaPrivate::QPlatformAudioIOStream | |
| static qsizetype | inferRingbufferFrames (const std::optional< int > &ringbufferSize, const std::optional< NativePeriodFrames > &nativePeriodFrames, const QAudioFormat &) |
| static qsizetype | inferRingbufferBytes (const std::optional< int > &ringbufferSize, const std::optional< NativePeriodFrames > &nativePeriodFrames, const QAudioFormat &) |
| Protected Attributes inherited from QtMultimediaPrivate::QPlatformAudioIOStream | |
| const QAudioDevice | m_audioDevice |
| const QAudioFormat | m_format |
| const std::optional< NativePeriodFrames > | m_nativePeriodFrames |
Definition at line 236 of file qaudiosystem_platform_stream_support_p.h.
| using QtMultimediaPrivate::QPlatformAudioSourceStream::AudioCallback = QPlatformAudioSource::AudioCallback |
Definition at line 240 of file qaudiosystem_platform_stream_support_p.h.
|
strong |
Definition at line 110 of file qaudiosystem_platform_stream_support_p.h.
|
protected |
Definition at line 328 of file qaudiosystem_platform_stream_support.cpp.
|
protecteddefault |
|
protected |
Definition at line 431 of file qaudiosystem_platform_stream_support.cpp.
|
protected |
Definition at line 451 of file qaudiosystem_platform_stream_support.cpp.
|
protected |
Definition at line 481 of file qaudiosystem_platform_stream_support.cpp.
|
protected |
Definition at line 396 of file qaudiosystem_platform_stream_support.cpp.
Referenced by handleIOError().
|
protected |
Definition at line 475 of file qaudiosystem_platform_stream_support.cpp.
|
protected |
Definition at line 416 of file qaudiosystem_platform_stream_support.cpp.
|
protected |
Definition at line 401 of file qaudiosystem_platform_stream_support.cpp.
|
inlineprotected |
Definition at line 273 of file qaudiosystem_platform_stream_support_p.h.
References deviceIsRingbufferReader().
|
inlineprotected |
Definition at line 293 of file qaudiosystem_platform_stream_support_p.h.
|
protectednoexcept |
Definition at line 341 of file qaudiosystem_platform_stream_support.cpp.
|
protected |
Definition at line 438 of file qaudiosystem_platform_stream_support.cpp.
|
protected |
Definition at line 384 of file qaudiosystem_platform_stream_support.cpp.
Definition at line 85 of file qaudiosystem_platform_stream_support.cpp.
Definition at line 446 of file qaudiosystem_platform_stream_support.cpp.
|
protected |
Definition at line 424 of file qaudiosystem_platform_stream_support.cpp.
|
protectedpure virtual |