Lines Matching refs:pcm
214 SLAndroidDataFormat_PCM_EX pcm; in TestRecToBuffQueue() local
266 pcm.formatType = transferFormat == AUDIO_FORMAT_PCM_FLOAT || in TestRecToBuffQueue()
269 pcm.numChannels = channelCount; in TestRecToBuffQueue()
270 pcm.sampleRate = sampleRate * 1000; // milliHz in TestRecToBuffQueue()
271 pcm.representation = SL_ANDROID_PCM_REPRESENTATION_SIGNED_INT; in TestRecToBuffQueue()
274 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16; in TestRecToBuffQueue()
275 pcm.containerSize = 16; in TestRecToBuffQueue()
278 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_32; in TestRecToBuffQueue()
279 pcm.containerSize = 32; in TestRecToBuffQueue()
282 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_8; in TestRecToBuffQueue()
283 pcm.containerSize = 8; in TestRecToBuffQueue()
284 pcm.representation = SL_ANDROID_PCM_REPRESENTATION_UNSIGNED_INT; in TestRecToBuffQueue()
287 pcm.bitsPerSample = 32; in TestRecToBuffQueue()
288 pcm.containerSize = 32; in TestRecToBuffQueue()
289 pcm.representation = SL_ANDROID_PCM_REPRESENTATION_FLOAT; in TestRecToBuffQueue()
296 pcm.channelMask = (1 << channelCount) - 1; in TestRecToBuffQueue()
300 pcm.channelMask = SL_SPEAKER_FRONT_LEFT; in TestRecToBuffQueue()
303 pcm.channelMask = SL_SPEAKER_FRONT_LEFT | SL_SPEAKER_FRONT_RIGHT; in TestRecToBuffQueue()
310 pcm.endianness = SL_BYTEORDER_LITTLEENDIAN; in TestRecToBuffQueue()
313 recDest.pFormat = (void * ) &pcm; in TestRecToBuffQueue()