Re: [Alsa-user] Need help with asound.conf

2008-02-19 Thread Radu Cristescu
Adam Nielsen wrote: The problem is that I can't hear two concurrent audio streams at the same time when using the default device. I tried setting things up using dmix, but failed miserably. Any ideas what to do to make two applications play simultaneously through spdif based on this

Re: [Alsa-user] Need help with asound.conf

2008-02-19 Thread Adam Nielsen
For me, hw:0,1 is the SPDIF connector, so I just put this in /etc/asound.conf: defaults.pcm.card 0 defaults.pcm.device 1 What if I need a more generic version of asound.conf so it works without changes on machines where spdif is hw:0,2 ? I'm certainly no expert, but to do this you

[Alsa-user] Need help with asound.conf

2008-02-18 Thread Radu Cristescu
Hi, I made an asound.conf file that looks like this: |pcm_slave.convert48k { pcm spdif rate 48000 } pcm.spdif_playback { type plug slave convert48k } pcm.asym_spdif { type asym playback.pcm spdif_playback capture.pcm plughw:0 } pcm.!default