Home | History | Annotate | Download | only in sandbox

Lines Matching refs:format_pcm

326     SLDataFormat_PCM format_pcm;
327 format_pcm.formatType = SL_DATAFORMAT_PCM;
328 format_pcm.numChannels = sfinfo.channels;
329 format_pcm.samplesPerSec = sfinfo.samplerate * 1000;
330 format_pcm.bitsPerSample = bitsPerSample;
331 format_pcm.containerSize = format_pcm.bitsPerSample;
332 format_pcm.channelMask = 1 == format_pcm.numChannels ? SL_SPEAKER_FRONT_CENTER :
334 format_pcm.endianness = byteOrder;
337 audioSrc.pFormat = &format_pcm;