~/.asoundrc for M-Audio Revolution 7.1 (Tested on ALSA 1.0.10)
# hw:0,1 designates the Digital Coaxial Output # S32_LE is the only format supported by the driver # period_time, period_size, and buffer_size are needed to make aRts not stutter. Increase buffer_size if stuttering persists. pcm.spdifdmix { type dmix ipc_key 1024 slave { pcm "hw:0,1" format S32_LE period_time 0 period_size 1024 buffer_size 4096 } } # default ALSA route for software support of multiple sound streams pcm.!default { type plug slave.pcm spdifdmix } # Ogle pcm.!spdif { type plug slave.pcm "hw:0,1" } # mplayer -ac hwac3 pcm.!iec958 { type plug slave.pcm "hw:0,1" }