[Ekiga-list] call recording / ekiga too tightly on ALSA?

Damien Sandras dsandras at seconix.com
Thu Sep 14 21:37:04 UTC 2006


Le jeudi 14 septembre 2006 à 21:52 +0100, Mario Rossi a écrit :
> I've found a way to use the pcm.tee device in alsa to record the local
> sound produced by Ekiga.
> 
> Here is my .asoundrc
> 
> pcm.hardware {
>              type hw
>              card 0
>              device 0
> }
> 
> pcm.!default {
>              type plug
>              slave {
>                    pcm "tee:hardware,/home/mario/a.raw"
>              }
> }
> 
> then in Ekiga one should choose the "default" audio device.
> The file generated will be in raw format, S16_LE, 2 channels with a
> rate depending on the application you are using (Ekiga does 8000)
> 
> To note that if I write pcm "tee:default...." it does not work. I
> think it could be related to the dmix bug, since the default would be
> dmix. In this case, Ekiga, mplayer and xmms do not work properly,
> while aplay does. I'll try again when I will have updated my system to
> alsa 1.0.12.
> 
> One question: how can I specify in Ekiga an audio device which is not
> "default" or "the name of the card"?
> I would like to call this device
> 
> pcm.file_raw {
> ...
> }
> 
> but then I cannot tell Ekiga to use it, while I can just write
> 

It is not possible yet. there is a bug report about that.

If you want to implement it, feel free. It is not very hard.

See :
http://bugzilla.gnome.org/show_bug.cgi?id=355658


> aplay -D file_raw .........
> 
> Thanks
> 
> mario
> _______________________________________________
> ekiga-list mailing list
> ekiga-list at gnome.org
> http://mail.gnome.org/mailman/listinfo/ekiga-list
-- 
 _      Damien Sandras
(o-     
//\     Ekiga Softphone: http://www.ekiga.org/
v_/_    FOSDEM 2006    : http://www.fosdem.org/
        SIP Phone      : sip:dsandras at ekiga.net
                         sip:600000 at ekiga.net




More information about the ekiga-list mailing list