Home
last modified time | relevance | path

Searched refs:bufferSizeInBytes (Results 1 – 4 of 4) 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.java703 int channelConfig, int audioFormat, int bufferSizeInBytes, in createAudioRecord() argument
709 audioFormat, bufferSizeInBytes, isChannelIndex); in createAudioRecord()
717 .setBufferSizeInBytes(bufferSizeInBytes) in createAudioRecord()
721 audioFormat, bufferSizeInBytes); in createAudioRecord()
735 assertTrue(record.getBufferSizeInFrames() * frameSize >= bufferSizeInBytes); in createAudioRecord()
754 final int bufferSizeInBytes = isChannelIndex ? in doTest() local
758 assertTrue(bufferSizeInBytes > 0); in doTest()
767 TEST_FORMAT, bufferSizeInBytes, auditRecording, isChannelIndex); in doTest()
775 TEST_FORMAT, bufferSizeInBytes, auditRecording, in doTest()
DAudioTrackTest.java2106 final int bufferSizeInBytes = minBuffSize * 100; in testVariableRatePlayback() local
2110 final int frameCount = bufferSizeInBytes / bytesPerFrame; in testVariableRatePlayback()
2113 TEST_FORMAT, bufferSizeInBytes, TEST_MODE); in testVariableRatePlayback()
2116 byte[] vai = AudioHelper.createSoundDataInByteArray(bufferSizeInBytes, TEST_SR, in testVariableRatePlayback()
2351 int audioFormat, int bufferSizeInBytes, int mode) throws IllegalArgumentException { in MockAudioTrack() argument
2352 super(streamType, sampleRateInHz, channelConfig, audioFormat, bufferSizeInBytes, mode); in MockAudioTrack()
/cts/tests/tests/media/libndkaudio/
DAudioRecorder.cpp235 int bufferSizeInBytes = numBufferSamples_ * sizeof(float); in enqueBuffer() local
237 result = (*recBuffQueueItf_)->Enqueue(recBuffQueueItf_, recBuffer, bufferSizeInBytes); in enqueBuffer()