Lines Matching refs:pcmParams
109 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams =
112 if (pcmParams->nPortIndex > 1) {
116 pcmParams->eNumData = OMX_NumericalDataSigned;
117 pcmParams->eEndian = OMX_EndianBig;
118 pcmParams->bInterleaved = OMX_TRUE;
119 pcmParams->nBitPerSample = 16;
120 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear;
121 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF;
122 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF;
124 pcmParams->nChannels = mNumChannels;
125 pcmParams->nSamplingRate = 8000;
140 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams =
143 if (pcmParams->nPortIndex != 0 && pcmParams->nPortIndex != 1) {
147 if (pcmParams->nChannels < 1 || pcmParams->nChannels > 2) {
151 if(pcmParams->nPortIndex == 0) {
152 mNumChannels = pcmParams->nChannels;