Hi, I have a system that is slow and cannot support overhead for re-sampling input streams. The codec on the system supports all rates from 8K-48K and it is continuous so pretty much any rate should work no problem. However, I noticed that when I play a song that has weird rate that is not specified in the constraint list aplay would come back saying that it cannot set hardware parameters. If I play the same song using the virtual device through "plug" plugin the thing works no problem. I guess that alsa-lib re-samples the data to rate specified in the virtual device. Is there any way for me to force alsa to forward any rate to the hardware driver? On the other hand is there any way I can specify multiple rates in the plug? For example my plug has: rate 32000 I tried rate 8000, 32000 and rate 8000 32000 but non of these worked.
Cheers Ogi