When I try to record from a hw ALSA device that does not support the expected parameters, it shows me which formats are available:
arecord -D hw:0,0 [...] Available formats: - S16_LE - S24_LE Then I set the correct format, but afterwards it complains about wrong channels and so on. I know, I could easliy work around this by using plughw:0,0 instead. However, I want to apply the correct settings, without trial and error.
Searching the internet I found an article that mentions aplay -v, but it only works when actually playing back. Also, to me it seems to only display the current configuration, not the available configurations.
How do I view the available hardware parameters of an ALSA sound card?