Searched refs:sampleSizeInBytes (Results 1 – 4 of 4) sorted by relevance
68 public static int sampleSizeInBytes(int encoding) { in sampleSizeInBytes() method in AudioUtils82 return sampleSizeInBytes(encoding) * numChannels; in calcFrameSizeInBytes()
68 public static int sampleSizeInBytes(int encoding) { in sampleSizeInBytes() method in StreamBase86 return sampleSizeInBytes(AudioFormat.ENCODING_PCM_FLOAT) * numChannels; in calcFrameSizeInBytes()
60 return bufferSizeInBytes / sampleSizeInBytes(AudioFormat.ENCODING_PCM_FLOAT); in calcMinBufferFrames()
52 return bufferSizeInBytes / sampleSizeInBytes(AudioFormat.ENCODING_PCM_FLOAT); in calcMinBufferFrames()