Vineet Agrawal wrote: > I have a sound card (Delta 44) up and running with > ALSA driver. I am trying to do some speech procesing > in real time with this cad. With the help of you guys, > I was able to compile latency.c, but when I tried to > execute it, it gave me this error:- > > cannot set sample format (Invalid argument). > > I tried to different sample rate, but every time got > the same error, then I commented out the line where > sample rate was set, then it gave me this error:- > > cannot set channel count (Invalid argument).
The default sample format used by latency.c is S16_LE with 2 channels, but the ice1712 chip on your card doesn't support this. You can either try to change the playback/capture devices from hw to plughw, or change the sample format to S32_LE and the channel count to 10 (playback) and 12 (capture). HTH Clemens ------------------------------------------------------- This SF.net email is sponsored by: ValueWeb: Dedicated Hosting for just $79/mo with 500 GB of bandwidth! No other company gives more support or power for your dedicated server http://click.atdmt.com/AFF/go/sdnxxaff00300020aff/direct/01/ _______________________________________________ Alsa-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/alsa-user