Searched refs:bufferSizeBytes (Results 1 – 2 of 2) sorted by relevance
119 int bufferSizeBytes = 2 * AudioTrack.getMinBufferSize(sampleRate, channelConfig, encoding); in createStreamAudioTrack() local133 .setBufferSizeInBytes(bufferSizeBytes) in createStreamAudioTrack()328 int bufferSizeBytes = 2 * AudioTrack.getMinBufferSize(TEST_SR, TEST_CONF, TEST_FORMAT); in createCustomAudioTrack() local344 .setBufferSizeInBytes(bufferSizeBytes) in createCustomAudioTrack()
111 static char* stringAllocator(int32_t bufferSizeBytes, void*) { in stringAllocator() argument112 return (char*)malloc(bufferSizeBytes); in stringAllocator()