Re: [ecasound] Not able to record with long file names?

From: Kai Vehmanen <kvehmanen@email-addr-hidden>
Date: Sat Feb 19 2005 - 00:28:05 EET

On Wed, 16 Feb 2005, Lance Hoffmeyer wrote:

> sudo ecasound -i:alsahw,0,0 -o:ThisFile.wav
> Which is an AMD768 onboard soundcard records the file.
[...]
> sudo ecasound -i:alsahw,1,0 -o:ThisFile.wav
> which is an Ice1712 Delta 66 card does not
[...]
> ALSA is such a pain to mess with :-(

This fails because you've used direct hw-access ('alsahw') to the
soundcard hardware. No implicit software adaptation is done in this case
by alsa-lib, and the application must use audio parameters supported by
the hardware. In this case, Delta66 doesn't support stereo recording, you
always have to record all the 12 channels of the chip. Normally ALSA hides
this complexity from the end-users, but if you want to be sure no
conversions are done in software, you can request for direct hw-access
(but then you have to set the parameters correctly).

Solution 1: Use the ALSA plugin layer

ecasound -i alsa,plughw:1 -o foobar.wav

Solution 2: Record all the 12chs

ecasound -f:32,12,44100 -i alsahw,1,0 -f:16,2,44100 -o foobar.wav

--
 http://www.eca.cx
 Audio software for Linux!
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Sat Feb 19 04:15:05 2005

This archive was generated by hypermail 2.1.8 : Sat Feb 19 2005 - 04:15:06 EET