2 soundcards
Making them run
For Debian Linux (Sarge):
- add definitions to /etc/modprobe.d/sound
# Terratec Aureon Fun (C-Media Electronics Inc CM8738) alias snd-card-0 snd-cmipci options snd-cmipci index=0 # Soundblaster Live (Creative Labs SB Live! EMU10k1) alias snd-card-1 snd-emu10k1 options snd-emu10k1 index=1
- run update-modules.modutils (updates /etc/modules.conf)
- add modules to /etc/modules (modules loaded at startup through /etc/init.d/module-init-tools):
# ALSA sound cards (see /etc/modprobe.d/sound) snd-cmipci snd-emu10k1
Play MP3 Audio
First sound card using IEC958 on Terratec Aureon Fun:
mpg321 --stdout SomeFile.mp3 | aplay -D hw:0,2,0 -c 2 -t raw -r 44100 -f S16_LE
Second sound card using Line Out on Soundblaster Live:
mpg123 --stdout SomeFile.mp3 | aplay -D hw:1,0,0 -c 2 -t raw -r 44100 -f S16_LE