Hello,
I have an EVM board of OMAPL137 from Spectrum Digital. The ALSA driver (CODEC AIC3106) has already been compiled into the kernel out of the box. The CODEC supports three formats : S16_LE, S24_LE and S32_LE. The PCM capture results seemed to be perfect with S16_LE format(I used the snd_pcm_readi() function). But given S24_LE and S32_LE the results turned out to be incorrect. Actually the results became effective 16 bit concatenated with extra 8 or 16 nonsense bits.
I saw all examples programs using S16_LE format but how can I get the 24-bit sample data with ALSA? Thank you guys.
Regards,
Lixun