Le mercredi 14 février 2007 à 12:04 +0100, Ingo Müller a écrit :

> pcm.recording {
>     type        dsnoop
>     ipc_key     2589
>     slave {
>         pcm     "hw:0,0"
>         format  "S16_LE"
>     }
> }
> 
> pcm.recleft {
>     type        dsnoop
>     ipc_key     2589
>     slave {
>         pcm     "hw:0,0"
>         format  "S16_LE"
>     }
>     bindings.0  0
> }
> 
> pcm.recright {
>     type        dsnoop
>     ipc_key     2589
>     slave {
>         pcm     "hw:0,0"
>         format  "S16_LE"
>     }
>     bindings.0  1
> }
> 

Thanks, I will try recording from left.

I wonder wether the format "S16_LE" is needed.

Generally, I read that it was convenient to create sub PCMs using the
"asym" (bi-directionnal) and "plug" (automatical rates) plugin.
Therefore, you should be able to play/record several streams on the left
and no need to adapt rates.

Like that :

pcm.asymed0 {
       type asym
       playback.pcm "dmixed0"
       capture.pcm "dsnooped0"
}

pcm.pasymed0 {
       type plug
       slave.pcm "asymed0"
}
   
I will enquire tonight (I am new to Alsa).

Kind regards,
Jean-Michel


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Alsa-user mailing list
Alsa-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to