Qt 4.8
|
#include <qaudio_mac_p.h>
Public Types | |
typedef QPair< char *, int > | Region |
Public Functions | |
Region | acquireReadRegion (int size) |
Region | acquireWriteRegion (int size) |
int | free () const |
QAudioRingBuffer (int bufferSize) | |
void | releaseReadRegion (Region const ®ion) |
void | releaseWriteRegion (Region const ®ion) |
void | reset () |
int | size () const |
int | used () const |
~QAudioRingBuffer () | |
Properties | |
char * | m_buffer |
int | m_bufferSize |
QAtomicInt | m_bufferUsed |
int | m_readPos |
int | m_writePos |
Definition at line 76 of file qaudio_mac_p.h.
typedef QPair<char*, int> QAudioRingBuffer::Region |
Definition at line 79 of file qaudio_mac_p.h.
QAudioRingBuffer::QAudioRingBuffer | ( | int | bufferSize | ) |
Definition at line 109 of file qaudio_mac.cpp.
QAudioRingBuffer::~QAudioRingBuffer | ( | ) |
Definition at line 116 of file qaudio_mac.cpp.
|
inline |
Definition at line 84 of file qaudio_mac_p.h.
Referenced by QtMultimediaInternal::QAudioOutputBuffer::readFrames().
|
inline |
Definition at line 104 of file qaudio_mac_p.h.
Referenced by QtMultimediaInternal::QAudioOutputBuffer::fillBuffer(), and QtMultimediaInternal::QAudioOutputBuffer::writeBytes().
int QAudioRingBuffer::free | ( | ) | const |
Definition at line 126 of file qaudio_mac.cpp.
Referenced by acquireWriteRegion(), QtMultimediaInternal::QAudioOutputBuffer::available(), QtMultimediaInternal::QAudioOutputBuffer::fillBuffer(), and releaseWriteRegion().
|
inline |
Definition at line 97 of file qaudio_mac_p.h.
Referenced by QtMultimediaInternal::QAudioOutputBuffer::readFrames().
|
inline |
Definition at line 117 of file qaudio_mac_p.h.
Referenced by QtMultimediaInternal::QAudioOutputBuffer::fillBuffer(), and QtMultimediaInternal::QAudioOutputBuffer::writeBytes().
void QAudioRingBuffer::reset | ( | ) |
Definition at line 136 of file qaudio_mac.cpp.
Referenced by QAudioRingBuffer(), releaseWriteRegion(), and QtMultimediaInternal::QAudioOutputBuffer::reset().
int QAudioRingBuffer::size | ( | ) | const |
Definition at line 131 of file qaudio_mac.cpp.
Referenced by releaseWriteRegion(), and QtMultimediaInternal::QAudioOutputBuffer::startFillTimer().
int QAudioRingBuffer::used | ( | ) | const |
Definition at line 121 of file qaudio_mac.cpp.
Referenced by acquireReadRegion(), and releaseWriteRegion().
|
private |
Definition at line 134 of file qaudio_mac_p.h.
Referenced by acquireReadRegion(), acquireWriteRegion(), QAudioRingBuffer(), and ~QAudioRingBuffer().
|
private |
Definition at line 131 of file qaudio_mac_p.h.
Referenced by acquireReadRegion(), acquireWriteRegion(), free(), QAudioRingBuffer(), releaseReadRegion(), releaseWriteRegion(), and size().
|
private |
Definition at line 135 of file qaudio_mac_p.h.
Referenced by acquireReadRegion(), acquireWriteRegion(), free(), releaseReadRegion(), releaseWriteRegion(), reset(), and used().
|
private |
Definition at line 132 of file qaudio_mac_p.h.
Referenced by acquireReadRegion(), releaseReadRegion(), and reset().
|
private |
Definition at line 133 of file qaudio_mac_p.h.
Referenced by acquireWriteRegion(), releaseWriteRegion(), and reset().