DAC+ADC supported bit depth/sampling rates


I try to get the DAC+ADC running on my Raspberry 3B+ with the Max2Play-Image (Kernel 4.19.30).

My goal is to get the WaveInput-Plugin for LMS running.

After a few configurations of alsa I managed to record sound correctly, but the parameter I have to use for arecord are a bit strange:

arecord -f S32_LE --channels 2 --rate 44100 -d 10 test.wav

runs correctly and the recorded audio is also right. Only with 32 bit depth, I get correct results. 24 bit gets only noise, and 16bit is not supported:

arecord -f cd -d 10 test.wav


Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 44100 Hz, Stereo
arecord: set_params:1299: Sample format non available
Available formats:
- S24_LE
- S32_LE

I think the WaveInput needs a 16Bit stream, so have anyone an idea whats going wrong here?








Please sign in to leave a comment.