Searched refs:mBufferSize (Results 1 – 8 of 8) sorted by relevance
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | TrivialPlayer.java | 29 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()
|
D | TrivialRecorder.java | 30 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/ |
D | AudioRecordingLocal.cpp | 66 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/ |
D | FileUtil.cpp | 86 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/ |
D | RoutingTest.java | 425 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/ |
D | AudioRecordingLocal.h | 46 int mBufferSize; variable
|
/cts/suite/audio_quality/lib/include/ |
D | FileUtil.h | 61 int mBufferSize; variable
|
/cts/tests/tests/media/libaudiojni/ |
D | audio-record-native.cpp | 69 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
|