![]() |
Qt 6.x
The Qt SDK
|
#include <qcoreaudioutils_p.h>
Collaboration diagram for CoreAudioRingBuffer:Public Types | |
| typedef QPair< char *, int > | Region |
Public Member Functions | |
| CoreAudioRingBuffer (int bufferSize) | |
| ~CoreAudioRingBuffer () | |
| Region | acquireReadRegion (int size) |
| void | releaseReadRegion (Region const ®ion) |
| Region | acquireWriteRegion (int size) |
| void | releaseWriteRegion (Region const ®ion) |
| int | used () const |
| int | free () const |
| int | size () const |
| void | reset () |
Definition at line 43 of file qcoreaudioutils_p.h.
| typedef QPair<char*, int> CoreAudioRingBuffer::Region |
Definition at line 46 of file qcoreaudioutils_p.h.
| CoreAudioRingBuffer::CoreAudioRingBuffer | ( | int | bufferSize | ) |
Definition at line 261 of file qcoreaudioutils.mm.
References reset().
Here is the call graph for this function:| CoreAudioRingBuffer::~CoreAudioRingBuffer | ( | ) |
Definition at line 268 of file qcoreaudioutils.mm.
| CoreAudioRingBuffer::Region CoreAudioRingBuffer::acquireReadRegion | ( | int | size | ) |
Definition at line 273 of file qcoreaudioutils.mm.
References QBasicAtomicInteger< T >::fetchAndAddAcquire(), qMin(), and used().
Referenced by QDarwinAudioSourceBuffer::flush(), QDarwinAudioSourceBuffer::readBytes(), and QDarwinAudioSinkBuffer::readFrames().
Here is the call graph for this function:
Here is the caller graph for this function:| CoreAudioRingBuffer::Region CoreAudioRingBuffer::acquireWriteRegion | ( | int | size | ) |
Definition at line 293 of file qcoreaudioutils.mm.
References QBasicAtomicInteger< T >::fetchAndAddAcquire(), free(), output, qDebug, and qMin().
Referenced by QDarwinAudioSourceBuffer::renderFromDevice(), and QDarwinAudioSinkBuffer::writeBytes().
Here is the call graph for this function:
Here is the caller graph for this function:| int CoreAudioRingBuffer::free | ( | ) | const |
Definition at line 325 of file qcoreaudioutils.mm.
References QBasicAtomicInteger< T >::loadRelaxed().
Referenced by acquireWriteRegion(), QDarwinAudioSinkBuffer::available(), QDarwinAudioSourceBuffer::available(), and QDarwinAudioSourceBuffer::renderFromDevice().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 286 of file qcoreaudioutils.mm.
References QBasicAtomicInteger< T >::fetchAndAddRelease().
Referenced by QDarwinAudioSourceBuffer::flush(), QDarwinAudioSourceBuffer::readBytes(), and QDarwinAudioSinkBuffer::readFrames().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 310 of file qcoreaudioutils.mm.
References QBasicAtomicInteger< T >::fetchAndAddRelease(), and qDebug.
Referenced by QDarwinAudioSourceBuffer::renderFromDevice(), and QDarwinAudioSinkBuffer::writeBytes().
Here is the call graph for this function:
Here is the caller graph for this function:| void CoreAudioRingBuffer::reset | ( | ) |
Definition at line 335 of file qcoreaudioutils.mm.
References QBasicAtomicInteger< T >::storeRelaxed().
Referenced by CoreAudioRingBuffer(), QDarwinAudioSinkBuffer::reset(), and QDarwinAudioSourceBuffer::reset().
Here is the call graph for this function:
Here is the caller graph for this function:| int CoreAudioRingBuffer::size | ( | ) | const |
Definition at line 330 of file qcoreaudioutils.mm.
Referenced by QDarwinAudioSinkBuffer::startFillTimer().
Here is the caller graph for this function:| int CoreAudioRingBuffer::used | ( | ) | const |
Definition at line 320 of file qcoreaudioutils.mm.
References QBasicAtomicInteger< T >::loadRelaxed().
Referenced by acquireReadRegion(), QDarwinAudioSourceBuffer::flush(), and QDarwinAudioSourceBuffer::used().
Here is the call graph for this function:
Here is the caller graph for this function: