aplay/arecord and rates/bits on usb soundcard

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

 



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

simply records and creates the file /tmp/t
Recording raw data '/tmp/t' : Signed 24 bit Big Endian, Rate 96000 Hz, Stereo
Recording raw data '/tmp/t' : Signed 24 bit Big Endian, Rate 96000 Hz, Stereo
wormhole:0[unruh]>l /tmp/t
-rw-r----- 1 unruh unruh 1536000 2013-04-24 10:00 /tmp/t

as if it were getting something reasonable from the card. I have no idea what
is in that file, but it surely cannot be 96000 24 bit audio.

Why is it not coming back with an error message? How can I make sure I do not
get garbage on a recording?



------------------------------------------------------------------------------
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