OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:samplesizeinbytes
(Results
1 - 1
of
1
) sorted by null
/frameworks/base/core/java/android/speech/tts/
FileSynthesisCallback.java
201
int
sampleSizeInBytes
= (audioFormat == AudioFormat.ENCODING_PCM_8BIT ? 1 : 2);
202
int byteRate = sampleRateInHz *
sampleSizeInBytes
* channelCount;
203
short blockAlign = (short) (
sampleSizeInBytes
* channelCount);
204
short bitsPerSample = (short) (
sampleSizeInBytes
* 8);
Completed in 507 milliseconds