Searched defs:PCM16 (Results 1 - 2 of 2) sorted by relevance

/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp46 int PCM16; //... format constants member in struct:fields_t
141 if ((audioFormat != javaAudioRecordFields.PCM16)
147 int bytesPerSample = audioFormat==javaAudioRecordFields.PCM16 ? 2 : 1;
148 int format = audioFormat==javaAudioRecordFields.PCM16 ?
462 (audioFormat == javaAudioRecordFields.PCM16 ?
575 JAVA_CONST_PCM16_NAME, &(javaAudioRecordFields.PCM16))
H A Dandroid_media_AudioTrack.cpp48 int PCM16; //... format constants member in struct:fields_t
216 if ((audioFormat != javaAudioTrackFields.PCM16) && (audioFormat != javaAudioTrackFields.PCM8)) {
229 audioFormat = javaAudioTrackFields.PCM16;
235 int bytesPerSample = audioFormat == javaAudioTrackFields.PCM16 ? 2 : 1;
236 int format = audioFormat == javaAudioTrackFields.PCM16 ?
448 if (audioFormat == javaAudioTrackFields.PCM16) {
774 * (audioFormat == javaAudioTrackFields.PCM16 ? 2 : 1)
917 JAVA_CONST_PCM16_NAME, &(javaAudioTrackFields.PCM16))

Completed in 464 milliseconds