Home | History | Annotate | Download | only in examples

Lines Matching defs:pcm

116     SLDataFormat_PCM           pcm;
169 pcm.formatType = SL_DATAFORMAT_PCM;
170 pcm.numChannels = 1;//2;
171 pcm.samplesPerSec = SL_SAMPLINGRATE_44_1;
172 pcm.bitsPerSample = SL_PCMSAMPLEFORMAT_FIXED_16;
173 pcm.containerSize = 16;
174 pcm.channelMask = SL_SPEAKER_FRONT_LEFT;// | SL_SPEAKER_FRONT_RIGHT;
175 pcm.endianness = SL_BYTEORDER_LITTLEENDIAN;
177 audioSource.pFormat = (void *)&pcm;
244 /* Play the PCM samples using a buffer queue */
249 /* Wait until the PCM data is done playing, the buffer queue callback
250 will continue to queue buffers until the entire PCM data has been