Hallo,
Anders Bruun Olsen hat gesagt: // Anders Bruun Olsen wrote:

> On Sat, Feb 28, 2004 at 07:18:32PM +0100, Jaroslav Kysela wrote:
> > The command is almost correct. Replace -D spdif with -D plug:spdif to 
> > enable the automatic sample conversion.
> 
> It works!!
> 
> So how can I make it send all sound through the spdif interface?

You could redefine the ALSA device "default" to be spdif: 
 
 # ~/.asoundrc
 pcm.!default {
        type plug
        slave.pcm "spdif"
 }

All ALSA aware sound applications, which use "default" then will play
over plug:spdif. Maybe you want to read up a bit on the many
possibilities ALSA's runtime configuraition offers.
http://alsa.opensrc.org has many examples. You could even enable
software mixing without relying on arts.

ALSA
-- 
 Frank Barknecht                               _ ______footils.org__


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user

Reply via email to