[Alsa-user] Proper syntax of "copy" plugin

2015-02-19 Thread Nikolay Dimitrov
Hi guys, What is the proper way to use the "copy" plugin in the ALSA configuration file? Here's a piece of the official docs: pcm.name { type copy # Copy PCM slave STR # Slave name # or slave { # Slave definition pcm STR # Slave PCM name

Re: [Alsa-user] Proper syntax of "copy" plugin

2015-02-20 Thread Nikolay Dimitrov
Hi Clemens, On 02/20/2015 01:35 PM, Clemens Ladisch wrote: > Nikolay Dimitrov wrote: >> What is the proper way to use the "copy" plugin in the ALSA >> configuration file? > > pcm.copy_to_hw0 { > type copy > slave.pcm "hw:0" > } > >

Re: [Alsa-user] Proper syntax of "copy" plugin

2015-02-25 Thread Nikolay Dimitrov
Hi Clemens, On 02/21/2015 04:41 PM, Clemens Ladisch wrote: > Nikolay Dimitrov wrote: >> On 02/20/2015 01:35 PM, Clemens Ladisch wrote: >>> pcm.copy_to_hw0 { >>> type copy >>> slave.pcm "hw:0" >>> } >>> >>> The de

Re: [Alsa-user] Proper syntax of "copy" plugin

2015-03-26 Thread Nikolay Dimitrov
Hi Clemens, If we get back to your great example: pcm.Duplicate { type plug slave.pcm { type multi slaves { a { pcm "hw:0,0" channels 2 } b { pcm "hw:1,0" channels 2 } } bindings [ { slave a channel 0 }

Re: [Alsa-user] Proper syntax of "copy" plugin

2015-03-27 Thread Nikolay Dimitrov
Hi Clemens, On 03/27/2015 09:34 AM, Clemens Ladisch wrote: > Nikolay Dimitrov wrote: >> Is it possible to make the Duplicate device a little bit more >> "fool-proof" - e.g. to work with 2 devices when available, and to >> gracefully fallback to 1 device playback whe