Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DAudioTrack_ListenerTest.java86 final int bufferSizeInBytes; in doTest() local
89 bufferSizeInBytes = minBuffSize * TEST_BUFFER_FACTOR; in doTest()
90 mFrameCount = bufferSizeInBytes * TEST_LOOP_FACTOR; in doTest()
92 bufferSizeInBytes = minBuffSize * TEST_BUFFER_FACTOR * TEST_LOOP_FACTOR; in doTest()
93 mFrameCount = bufferSizeInBytes; in doTest()
101 TEST_FORMAT, bufferSizeInBytes, mode); in doTest()
109 TEST_FORMAT, bufferSizeInBytes, mode); in doTest()
124 bufferSizeInBytes, TEST_SR, 1024 /* frequency */, 0 /* sweep */); in doTest()
DAudioRecordTest.java883 int channelConfig, int audioFormat, int bufferSizeInBytes, in createAudioRecord() argument
889 audioFormat, bufferSizeInBytes, isChannelIndex); in createAudioRecord()
897 .setBufferSizeInBytes(bufferSizeInBytes) in createAudioRecord()
901 audioFormat, bufferSizeInBytes); in createAudioRecord()
915 assertTrue(record.getBufferSizeInFrames() * frameSize >= bufferSizeInBytes); in createAudioRecord()
944 final int bufferSizeInBytes = isChannelIndex ? in doTest() local
948 assertTrue(bufferSizeInBytes > 0); in doTest()
957 TEST_FORMAT, bufferSizeInBytes, auditRecording, isChannelIndex); in doTest()
965 TEST_FORMAT, bufferSizeInBytes, auditRecording, in doTest()
DAudioTrackTest.java2213 final int bufferSizeInBytes = minBuffSize * 100; in testVariableRatePlayback() local
2217 final int frameCount = bufferSizeInBytes / bytesPerFrame; in testVariableRatePlayback()
2220 TEST_FORMAT, bufferSizeInBytes, TEST_MODE); in testVariableRatePlayback()
2223 byte[] vai = AudioHelper.createSoundDataInByteArray(bufferSizeInBytes, TEST_SR, in testVariableRatePlayback()
2284 final int bufferSizeInBytes = frameCount * bytesPerFrame; in testStopDrain() local
2287 TEST_STREAM_TYPE, TEST_SR, TEST_CONF, TEST_FORMAT, bufferSizeInBytes, TEST_MODE); in testStopDrain()
2292 bufferSizeInBytes * 2, TEST_SR, 600 /* frequency */, 0 /* sweep */); in testStopDrain()
2294 bufferSizeInBytes, in testStopDrain()
2295 track.write(soundData, 0 /* offsetInBytes */, bufferSizeInBytes)); in testStopDrain()
2322 assertEquals("stop drain must be limited " + bufferSizeInBytes + " != " + length, in testStopDrain()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DStreamPlayer.java119 int bufferSizeInBytes = mNumAudioTrackFrames * in open() local
128 .setBufferSizeInBytes(bufferSizeInBytes) in open()
DStreamRecorder.java124 int bufferSizeInBytes = 2048; // Some, non-critical value in open_internal() local
133 .setBufferSizeInBytes(bufferSizeInBytes) in open_internal()
/cts/tests/tests/media/libndkaudio/
DAudioRecorder.cpp235 int bufferSizeInBytes = numBufferSamples_ * sizeof(float); in enqueBuffer() local
237 result = (*recBuffQueueItf_)->Enqueue(recBuffQueueItf_, recBuffer, bufferSizeInBytes); in enqueBuffer()