This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM355 Davinci microphone input too low



Hi,

I am working with Davinci DM355 board and the microphone input is way too low. I tried setting the volume values

int     vol        = LEFT_GAIN | (RIGHT_GAIN << 8);

SOUND_MIXER_WRITE_MIC, SOUND_MIXER_WRITE_IGAIN, SOUND_MIXER_WRITE_OGAIN

but it didnt help. Maybe boards sound chip isnt supporting amplification?

Regards

 

  • What version of the DVSDK are you using?  With older versions, you may want to try setting the volume using the 'aumix' Linux command.  (Type 'man aumix' for usage.)  The newer DVSDK 2.0, which is based on MV Pro 5.0, supports ALSA audio standards as opposed to OSS.  Even though there is some OSS support in this kernel, OSS is not officially supported and will be depricated as we move to newer kernels.  Therefore, if you are relying on OSS calls instead of ALSA, I would suggest you port your code to use ALSA APIs.

  • David Meixner said:
    The newer DVSDK 2.0, which is based on MV Pro 5.0, supports ALSA audio standards as opposed to OSS.  Even though there is some OSS support in this kernel, OSS is not officially supported and will be depricated as we move to newer kernels.

    So, if OSS is deprecated, why do the default parameters for DMAI's Sound_create() (i.e. Sound_Attrs_MONO_DEFAULT) specify OSS instead of ALSA? (As of DVSDK v2_10_01_18)