#include <qaudiosystem_platform_stream_support_p.h>
|
| QPlatformAudioSourceStream (QAudioDevice, const QAudioFormat &, std::optional< int > ringbufferSize, std::optional< int32_t > hardwareBufferFrames, float volume) |
| ~QPlatformAudioSourceStream () |
uint64_t | process (QSpan< const std::byte > hostBuffer, qsizetype numberOfFrames, std::optional< NativeSampleFormat >={}) noexcept QT_MM_NONBLOCKING |
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 &&f) |
| QPlatformAudioIOStream (QAudioDevice m_audioDevice, QAudioFormat m_format, std::optional< int > ringbufferSize, std::optional< int32_t > hardwareBufferFrames, float volume) |
| ~QPlatformAudioIOStream () |
void | setVolume (float) |
float | volume () const |
template<typename Functor> |
auto | visitRingbuffer (Functor &&f) |
template<typename Functor> |
auto | visitRingbuffer (Functor &&f) const |
void | prepareRingbuffer (std::optional< int > ringbufferSize) |
int | ringbufferSizeInBytes () |
void | requestStop () |
bool | isStopRequested (std::memory_order memory_order=std::memory_order_relaxed) const |
◆ AudioCallback
◆ ShutdownPolicy
◆ QPlatformAudioSourceStream()
QtMultimediaPrivate::QPlatformAudioSourceStream::QPlatformAudioSourceStream |
( |
QAudioDevice | audioDevice, |
|
|
const QAudioFormat & | format, |
|
|
std::optional< int > | ringbufferSize, |
|
|
std::optional< int32_t > | hardwareBufferFrames, |
|
|
float | volume ) |
|
protected |
◆ ~QPlatformAudioSourceStream()
QtMultimediaPrivate::QPlatformAudioSourceStream::~QPlatformAudioSourceStream |
( |
| ) |
|
|
protecteddefault |
◆ bytesReady()
qsizetype QtMultimediaPrivate::QPlatformAudioSourceStream::bytesReady |
( |
| ) |
const |
|
protected |
◆ createQIODeviceConnections()
void QtMultimediaPrivate::QPlatformAudioSourceStream::createQIODeviceConnections |
( |
QIODevice * | device | ) |
|
|
protected |
◆ createRingbufferReaderDevice()
QIODevice * QtMultimediaPrivate::QPlatformAudioSourceStream::createRingbufferReaderDevice |
( |
| ) |
|
|
protected |
◆ deviceIsRingbufferReader()
bool QtMultimediaPrivate::QPlatformAudioSourceStream::deviceIsRingbufferReader |
( |
| ) |
const |
|
protected |
◆ disconnectQIODeviceConnections()
void QtMultimediaPrivate::QPlatformAudioSourceStream::disconnectQIODeviceConnections |
( |
| ) |
|
|
protected |
◆ emptyRingbuffer()
void QtMultimediaPrivate::QPlatformAudioSourceStream::emptyRingbuffer |
( |
| ) |
|
|
protected |
◆ finalizeQIODevice()
void QtMultimediaPrivate::QPlatformAudioSourceStream::finalizeQIODevice |
( |
ShutdownPolicy | shutdownPolicy | ) |
|
|
protected |
◆ handleIOError()
template<typename ParentType>
void QtMultimediaPrivate::QPlatformAudioSourceStream::handleIOError |
( |
ParentType * | parent | ) |
|
|
inlineprotected |
◆ invokeOnAppThread()
void QtMultimediaPrivate::QPlatformAudioSourceStream::invokeOnAppThread |
( |
Functor && | f | ) |
|
|
inlineprotected |
◆ process()
uint64_t QtMultimediaPrivate::QPlatformAudioSourceStream::process |
( |
QSpan< const std::byte > | hostBuffer, |
|
|
qsizetype | numberOfFrames, |
|
|
std::optional< NativeSampleFormat > | nativeFormat = {} ) |
|
protectednoexcept |
◆ processedDuration()
std::chrono::microseconds QtMultimediaPrivate::QPlatformAudioSourceStream::processedDuration |
( |
| ) |
const |
|
protected |
◆ pushToIODevice()
void QtMultimediaPrivate::QPlatformAudioSourceStream::pushToIODevice |
( |
| ) |
|
|
protected |
◆ setQIODevice()
void QtMultimediaPrivate::QPlatformAudioSourceStream::setQIODevice |
( |
QIODevice * | device | ) |
|
|
protected |
◆ thread()
QThread * QtMultimediaPrivate::QPlatformAudioSourceStream::thread |
( |
| ) |
const |
|
protected |
◆ updateStreamIdle()
virtual void QtMultimediaPrivate::QPlatformAudioSourceStream::updateStreamIdle |
( |
bool | | ) |
|
|
protectedpure virtual |
The documentation for this class was generated from the following files: