Kai Vehmanen hat gesagt: // Kai Vehmanen wrote:
> On Wed, 23 Jan 2002, Frank Barknecht wrote:
>
> > I'm having problems recording with ecasound from my Midiman Audiophile card
> > (snd-card-ice1712) through the Alsa devices or plugin layer. Recording from
> [...]
> > Version of ecasound is 2.0.4, Alsa is 0.9.0beta10. Reading ecasound's
> [...]
> > --- a) -i[:]alsa,pcm_device_name
>
> This is the right way to use ecasound with ALSA 0.9.0. The
> 'pcm_device_name' parameter is equivalent to aplay's -D (--device=name)
> parameter.
> > and even worse: this only works for mp3, not for wav or aiff files.
> > If I try recording a wav, ecasound ends with a Segmentation fault, the wav
> > file is big, but empty: no sound in it.
>
> This sounds strange. Have you tried any of the devel versions (2.1dev7 for
> instance)?
Not yet. I had hope, that 2.0.4 would work better in this regard than 2.0.3
which gave me that same errors with alsa beta7 then. But I think I will try
this ASAP and give my reports.
> > --- b) -i[:]alsahw,card_number,device_number,subdevice_number
> [...]
> > $ ecasound -i:alsahw,0,0,0 -t:2 -o test.wav
> [...]
> > ERROR: [ECA-CHAINSETUP] : "Enabling chainsetup: AUDIOIO-ALSA3: Audio
> > format not supported."
>
> When you use the ALSA hw-layer, you are limited to audio parameters that
> your soundcard directly supports.
Actually that was what I thought and I did not expected this to work as
naively as I typed it.
> In the above you are trying to open "hw:0,0" ALSA device with params
> s16_le/2ch/44100Hz/interleaved. Ice1712(pro) doesn't natively support
> this combination, so you get an error. But you can change the params:
>
> ecasound -f:s32_le,12,44100,i -i:alsahw,0,0 -o test.wav
>
> This records all 12channels to test.wav.
The Audiophile only has two channels, although the ICE chip certainly
can do more.
> > --- c) -i[:]alsaplugin,card_number,device_number,subdevice_number
>
> This won't work with ALSA0.9 if you don't have ecasound 2.1dev8 (latest
> CVS-version) or newer.
Thank you Kai for the clarification. I will try ecasound-cvs tomorrow.
Bye,
--
__ __
Frank Barknecht ____ ______ ____ __ trip\ \ / /wire ______
/ __// __ /__/ __// // __ \ \/ / __ \\ ___\
/ / / ____/ / / / // ____// /\ \\ ___\\____ \
/_/ /_____/ /_/ /_//_____// / \ \\_____\\_____\
/_/ \_\
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user