Hi,
I think unless you are using a sound server, the sample rate must be set
from the application side, even if you set a default in ALSA it would be
overridden by the application value.
In the case you want to record from a sound server, then (at least for
pulse) you can use any sample rate and the server will adjust it internally
to the maximum device sample rate, there is absolutely no gain in quality by
setting it higher than the maximum supported, but it is allowed.

Best regards,
Paulo

2009/7/15 Malte Gell <[email protected]>

>
> Malte Gell <[email protected]> wrote
>
> > Finally I can record voice with my Philips SPC620NC, after being so
> clever
> > to first load snd-usb-audio......
> >
> > Now, the problem is when recording sound, e.g. using ALSA with arecord
> -vvv
> > -D plughw:1 test.wav it sounds like Mickey Mouse... I do not know whether
> > it is too fast, but definitely it is too high my voice...
>
> Ok, I found the problem, need to set sample rate to 18ooo HZ, this command
> does the job:
>
> arecord -vv -D hw:1,0 -c 1 -f S16_LE --rate=18000-v test.wav
>
> Now I only need to find out where to write it down so ALSA always talks at
> 18000 Hz to that device...
>
> _______________________________________________
> Linux-uvc-devel mailing list
> [email protected]
> https://lists.berlios.de/mailman/listinfo/linux-uvc-devel
>
_______________________________________________
Linux-uvc-devel mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/linux-uvc-devel

Reply via email to