25 #define MIN(x, y) ((x) < (y) ? (x) : (y)) 41 QMutexLocker mutexLocker(&
m_mutex);
48 QMutexLocker mutexLocker(&
m_mutex);
61 QMutexLocker mutexLocker(&
m_mutex);
81 while (remaining != 0)
86 return total - remaining;
118 while (remaining != 0)
123 return total - remaining;
134 remaining -= copyLen;
143 QMutexLocker mutexLocker(&
m_mutex);
158 QMutexLocker mutexLocker(&
m_mutex);
bool create(uint32_t numSamples)
uint32_t drain(uint32_t numSamples)
uint32_t read(quint8 *data, uint32_t numSamples)
const uint32_t m_sampleSize
bool setSize(uint32_t numSamples)
uint32_t write(const quint8 *data, uint32_t numSamples)