Hi, we use DM8168, RDK4.0, one TVP5158.
what's the relationship of pContext->sampleRate with pContext->chPrm[i].encodeParam.sampleRate?
I has a stange problem.
In Device_tvp5158SetAudioMode(), the samplerate is only 16K or 8K, just
regAddr[numRegs] = DEVICE_TVP5158_REG_AUDIO_SAMPLE_HZ;
regValue[numRegs] = DEVICE_TVP5158_AUDIO_16KHZ;
if ( pPrm->samplingHz == 8000 )
regValue[numRegs] = DEVICE_TVP5158_AUDIO_8KHZ;
if ( pPrm->samplingHz == 16000 )
regValue[numRegs] = DEVICE_TVP5158_AUDIO_16KHZ;
But if I set acapParams.sampleRate = 44100, the register value of 0xC0 is 00, just 16K.
After I set samplerate to 44100, it has really worked?