#include <qaudiosystem_platform_stream_support_p.h>
|
| QPlatformAudioSinkStream (QAudioDevice, const QAudioFormat &, std::optional< int > ringbufferSize, std::optional< int32_t > hardwareBufferFrames, float volume) |
| ~QPlatformAudioSinkStream () |
uint64_t | process (QSpan< std::byte > hostBuffer, qsizetype totalNumberOfFrames, std::optional< NativeSampleFormat >={}) noexcept QT_MM_NONBLOCKING |
quint64 | bytesFree () const |
std::chrono::microseconds | processedDuration () const |
virtual void | updateStreamIdle (bool)=0 |
QIODevice * | createRingbufferWriterDevice () |
void | setQIODevice (QIODevice *device) |
void | createQIODeviceConnections (QIODevice *device) |
void | disconnectQIODeviceConnections () |
void | pullFromQIODevice () |
void | setIdleState (bool) |
bool | isIdle (std::memory_order order=std::memory_order_relaxed) const |
void | stopIdleDetection () |
template<typename Functor> |
auto | connectIdleHandler (Functor &&f) |
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
◆ QPlatformAudioSinkStream()
QtMultimediaPrivate::QPlatformAudioSinkStream::QPlatformAudioSinkStream |
( |
QAudioDevice | audioDevice, |
|
|
const QAudioFormat & | format, |
|
|
std::optional< int > | ringbufferSize, |
|
|
std::optional< int32_t > | hardwareBufferFrames, |
|
|
float | volume ) |
|
protected |
◆ ~QPlatformAudioSinkStream()
QtMultimediaPrivate::QPlatformAudioSinkStream::~QPlatformAudioSinkStream |
( |
| ) |
|
|
protecteddefault |
◆ bytesFree()
quint64 QtMultimediaPrivate::QPlatformAudioSinkStream::bytesFree |
( |
| ) |
const |
|
protected |
◆ connectIdleHandler()
auto QtMultimediaPrivate::QPlatformAudioSinkStream::connectIdleHandler |
( |
Functor && | f | ) |
|
|
inlineprotected |
◆ createQIODeviceConnections()
void QtMultimediaPrivate::QPlatformAudioSinkStream::createQIODeviceConnections |
( |
QIODevice * | device | ) |
|
|
protected |
◆ createRingbufferWriterDevice()
QIODevice * QtMultimediaPrivate::QPlatformAudioSinkStream::createRingbufferWriterDevice |
( |
| ) |
|
|
protected |
◆ disconnectQIODeviceConnections()
void QtMultimediaPrivate::QPlatformAudioSinkStream::disconnectQIODeviceConnections |
( |
| ) |
|
|
protected |
◆ handleIOError()
template<typename ParentType>
void QtMultimediaPrivate::QPlatformAudioSinkStream::handleIOError |
( |
ParentType * | parent | ) |
|
|
inlineprotected |
◆ invokeOnAppThread()
void QtMultimediaPrivate::QPlatformAudioSinkStream::invokeOnAppThread |
( |
Functor && | f | ) |
|
|
inlineprotected |
◆ isIdle()
bool QtMultimediaPrivate::QPlatformAudioSinkStream::isIdle |
( |
std::memory_order | order = std::memory_order_relaxed | ) |
const |
|
inlineprotected |
◆ process()
uint64_t QtMultimediaPrivate::QPlatformAudioSinkStream::process |
( |
QSpan< std::byte > | hostBuffer, |
|
|
qsizetype | totalNumberOfFrames, |
|
|
std::optional< NativeSampleFormat > | nativeFormat = {} ) |
|
protectednoexcept |
◆ processedDuration()
std::chrono::microseconds QtMultimediaPrivate::QPlatformAudioSinkStream::processedDuration |
( |
| ) |
const |
|
protected |
◆ pullFromQIODevice()
void QtMultimediaPrivate::QPlatformAudioSinkStream::pullFromQIODevice |
( |
| ) |
|
|
protected |
◆ setIdleState()
void QtMultimediaPrivate::QPlatformAudioSinkStream::setIdleState |
( |
bool | x | ) |
|
|
protected |
◆ setQIODevice()
void QtMultimediaPrivate::QPlatformAudioSinkStream::setQIODevice |
( |
QIODevice * | device | ) |
|
|
protected |
◆ stopIdleDetection()
void QtMultimediaPrivate::QPlatformAudioSinkStream::stopIdleDetection |
( |
| ) |
|
|
protected |
◆ thread()
QThread * QtMultimediaPrivate::QPlatformAudioSinkStream::thread |
( |
| ) |
const |
|
protected |
◆ updateStreamIdle()
virtual void QtMultimediaPrivate::QPlatformAudioSinkStream::updateStreamIdle |
( |
bool | | ) |
|
|
protectedpure virtual |
◆ notificationThresholdBytes
int QtMultimediaPrivate::QPlatformAudioSinkStream::notificationThresholdBytes = 0 |
|
staticconstexprprotected |
The documentation for this class was generated from the following files: