Re: aplay/arecord and rates/bits on usb soundcard

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 24.04.2013 19:04, Bill Unruh wrote:
> I have a Behringer uca222 soundcard, which handles 44100, 48000 and 16 bit
> output/input. However if I run arecord, or aplay with "illegal" rates or bits,
> they simply proceed as if nothing is wrong.
> Eg
> arecord -D default:CARD=CODEC /tmp/t -r96000 -c2 /tmp/t -N -d 2 -t raw -f S24_BE

This is because by default, the plughw plugin will take over and do the
sample rate and bit depth conversion for you. If you use "-D hw:X", ALSA
will only allow formats that are supported by the hardware natively.


Best,
Daniel


------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user




[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux