Home
last modified time | relevance | path

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

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DAudioUtils.java68 public static int sampleSizeInBytes(int encoding) { in sampleSizeInBytes() method in AudioUtils
82 return sampleSizeInBytes(encoding) * numChannels; in calcFrameSizeInBytes()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/common/
DStreamBase.java68 public static int sampleSizeInBytes(int encoding) { in sampleSizeInBytes() method in StreamBase
86 return sampleSizeInBytes(AudioFormat.ENCODING_PCM_FLOAT) * numChannels; in calcFrameSizeInBytes()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/recorder/
DRecorder.java60 return bufferSizeInBytes / sampleSizeInBytes(AudioFormat.ENCODING_PCM_FLOAT); in calcMinBufferFrames()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DPlayer.java52 return bufferSizeInBytes / sampleSizeInBytes(AudioFormat.ENCODING_PCM_FLOAT); in calcMinBufferFrames()