Lines Matching defs: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 if (pcmParams->nPortIndex == 0) {
122 pcmParams->ePCMMode = mIsMLaw ? OMX_AUDIO_PCMModeMULaw
126 pcmParams->ePCMMode = OMX_AUDIO_PCMModeLinear;
128 pcmParams->eChannelMapping[0] = OMX_AUDIO_ChannelLF;
129 pcmParams->eChannelMapping[1] = OMX_AUDIO_ChannelRF;
131 pcmParams->nChannels = mNumChannels;
132 pcmParams->nSamplingRate = 8000;
147 OMX_AUDIO_PARAM_PCMMODETYPE *pcmParams =
150 if (pcmParams->nPortIndex != 0 && pcmParams->nPortIndex != 1) {
154 if (pcmParams->nChannels < 1 || pcmParams->nChannels > 2) {
158 if(pcmParams->nPortIndex == 0) {
159 mNumChannels = pcmParams->nChannels;