Home
last modified time | relevance | path

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

/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java569 int bytesRequired = format.getSampleRate() * format.getChannelCount() * in run() local
573 if (minBufferSize > bytesRequired) { in run()
574 bytesRequired = minBufferSize; in run()
590 bytesRequired, AudioTrack.MODE_STATIC); in run()
596 audioRecord = new AudioRecord(attributes, format, bytesRequired, in run()
599 byte[] buffer = new byte[bytesRequired]; in run()
616 while (bytesRequired > 0) { in run()
627 bytesRequired -= bytesRead; in run()