Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DTrivialPlayer.java29 int mBufferSize; field in TrivialPlayer
39 mBufferSize = in TrivialPlayer()
50 mBufferSize, in TrivialPlayer()
57 mAudioData = new short[mBufferSize]; in TrivialPlayer()
58 for (int index = 0; index < mBufferSize; index++) { in TrivialPlayer()
104 mAudioTrack.write(mAudioData, 0, mBufferSize); in run()
DTrivialRecorder.java30 int mBufferSize; field in TrivialRecorder
40 mBufferSize = in TrivialRecorder()
51 mBufferSize); in TrivialRecorder()
57 mAudioData = new short[mBufferSize]; in TrivialRecorder()
97 mAudioRecord.read(mAudioData, 0, mBufferSize); in run()
/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.java425 int mBufferSize; field in RoutingTest.AudioTrackFiller
433 mBufferSize = bufferSize; in AudioTrackFiller()
437 mAudioData = new short[mBufferSize]; in AudioTrackFiller()
438 for (int index = 0; index < mBufferSize; index++) { in AudioTrackFiller()
449 mAudioTrack.write(mAudioData, 0, mBufferSize); in run()
495 int mBufferSize; field in RoutingTest.AudioRecordPuller
503 mBufferSize = bufferSize; in AudioRecordPuller()
513 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