Re: [ecasound] Stereo recording with Delta1010LT/ice1712

From: Maik Musall <lists@email-addr-hidden>
Date: Mon Sep 26 2005 - 00:59:02 EEST

Hello Kai,

thanks for your helpful response. I think I'm nearer to my goal.
Unfortunately, there's a problem that I could not manage because the
error message is not really wordy.

On Wed, Aug 31, 2005 at 11:56:47PM +0300, Kai Vehmanen wrote:
> Below is a clip from my ~/.asoundrc (Delta44). To use these devices, just
> issue...
>
> sh> ecasound -i alsa,delta_in12 -o foo.wav
> sh> ecasound -i alsa,delta_in34 -o foo.wav
>
> ... and so on.

I get this when I try:

$ ecasound -i alsa,delta_in89 -o foo.wav
****************************************************************************
* ecasound v2.3.3 (C) 1997-2004 Kai Vehmanen
****************************************************************************
- [ Session created ]
  ------------------------------------------------------
- [ Chainsetup created (cmdline) ]
  -----------------------------------------
- [ Connecting chainsetup ]
  ------------------------------------------------
(eca-chainsetup) 'rt' buffering mode selected.
ALSA lib pcm_params.c:2154:(snd_pcm_hw_refine_slave) Slave PCM not usable
(eca-control) ERROR: Connecting chainsetup failed: "Enabling
chainsetup: AUDIOIO-ALSA: Error when setting up hwparams/any: Invalid
argument"

The message "Slave PCM not usable" is not very specific, and google
didn't reveal anything useful on this string. My current .asoundrc is
this:

-- snap
pcm.delta_recshared {
        type dsnoop
        ipc_key 5978293 # must be unique for all dmix plugins!!!!
        ipc_key_add_uid yes
        slave {
                pcm "hw:0,0"
                channels 10
                period_size 1024
                buffer_size 4096
                rate 44100
                periods 0
                period_time 0
        }
        bindings {
                0 0
                1 1
                2 2
                3 3
                4 4
                5 5
                6 6
                7 7
                8 8
                9 9
        }
}

pcm.delta_in89 {
        type plug
        slave {
                pcm "delta_recshared"
                channels 4
        }
        ttable.0.8 1
        ttable.1.9 1
}
-- snap

I changed my asoundrc and used yours as a guide so that I thought this
would match my configuration (10 channel hardware), but now I cannot
determine where the error is. Any hint? (delta_in01 up to delta_in67 are
also present, accordingly, but I didn't copy them here.)

(I wished there would be a GUI configurator for asoundrc files. This is
really complicated stuff, and the asoundrc documentation is anything but
complete and well structured!)

Thanks and Regards

-- 
Maik Musall <maik@email-addr-hidden>
GPG public key 0x856861EB (keyserver: wwwkeys.de.pgp.net)
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP.  Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Ecasound-list mailing list
Ecasound-list@email-addr-hidden
https://lists.sourceforge.net/lists/listinfo/ecasound-list
Received on Mon Sep 26 04:15:09 2005

This archive was generated by hypermail 2.1.8 : Mon Sep 26 2005 - 04:15:09 EEST