Home
last modified time | relevance | path

Searched refs:mBufferSize (Results 1 – 6 of 6) sorted by relevance

/cts/suite/audio_quality/lib/src/audio/
DAudioRecordingLocal.cpp66 mBufferSize = pcm_get_buffer_size(mPcmHandle); in doPrepare()
67 LOGD("buffer size %d, read size %d", mBufferSize, mSizes); in doPrepare()
80 int readSize = (toRead > mBufferSize) ? mBufferSize : toRead; in doPlaybackOrRecord()
/cts/suite/audio_quality/lib/src/
DFileUtil.cpp86 mBufferSize = DEFAULT_BUFFER_SIZE; in FileUtil()
122 size = vsnprintf(mBuffer + start, mBufferSize - start - 2, fmt, ap); // 2 for \n\0 in doVprintf()
127 if ((size + start + 2) > mBufferSize) { in doVprintf()
135 mBufferSize = 2 * size; in doVprintf()
/cts/tests/tests/media/src/android/media/cts/
DRoutingTest.java430 int mBufferSize; field in RoutingTest.AudioTrackFiller
438 mBufferSize = bufferSize; in AudioTrackFiller()
442 mAudioData = new short[mBufferSize]; in AudioTrackFiller()
443 for (int index = 0; index < mBufferSize; index++) { in AudioTrackFiller()
454 mAudioTrack.write(mAudioData, 0, mBufferSize); in run()
513 int mBufferSize; field in RoutingTest.AudioRecordPuller
521 mBufferSize = bufferSize; in AudioRecordPuller()
531 mAudioRecord.read(mAudioData, 0, mBufferSize); in run()
/cts/suite/audio_quality/lib/include/audio/
DAudioRecordingLocal.h46 int mBufferSize; variable
/cts/suite/audio_quality/lib/include/
DFileUtil.h61 int mBufferSize; variable
/cts/tests/tests/media/libaudiojni/
Daudio-record-native.cpp69 mBufferSize(0), in AudioRecordNative()
173 mBufferSize = (BUFFER_SIZE_MSEC * sampleRate / 1000) in open()
224 mBufferSize = 0; in close()
385 auto b = std::make_shared<Blob>(mBufferSize); in queueBuffers()
445 size_t mBufferSize; member in AudioRecordNative