TerraTec Aureon 7.1 Space (Optical SPDIF output)

# create /etc/asound.conf
cat <<EOF> /etc/asound.conf
pcm.!default {
	type plug
	slave.pcm {
		type dmix
		ipc_key 1478
		slave {
			pcm "hw:0,1"
	 		format S32_LE
			period_time 0 
			period_size 1024
			buffer_size 8192
		}
	}
}
 
pcm.!iec958 {
   type plug
   slave.pcm "hw:0,1"
}
EOF
 
# test with Mplayer
mplayer -ao alsa:device=iec958 FILE_TO_PLAY
 
# LINKS
http://alsa.opensrc.org/index.php/Ice1724