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.java604 int bytesRequired = format.getSampleRate() * format.getChannelCount() * in run() local
608 if (minBufferSize > bytesRequired) { in run()
609 bytesRequired = minBufferSize; in run()
625 bytesRequired, AudioTrack.MODE_STATIC); in run()
631 audioRecord = new AudioRecord(attributes, format, bytesRequired, in run()
634 byte[] buffer = new byte[bytesRequired]; in run()
656 while (bytesRequired > 0) { in run()
667 bytesRequired -= bytesRead; in run()