infofiles

asoundrc examples

InfoFiles
* FAQ: read the lines that start with a * first
* To use a asoundrc file your alsa version must be 1.0.13 or newer.
* To see what your alsa version is run this command: cat /proc/asound/version
* Backup your ~/.asoundrc if needed before you try a new .asoundrc file.
* Any change, creation, or deletion of /home/$USER/.asoundrc takes effect immediately
* but you have to close/restart all sound apps and mixers for any changes to take effect.
* Most of these examples work but you must check for errors and test for functionality.
* Most asoundrc files create one or more new pcm (example: pcm.dmix6) to add a feature
* to your sound cards capabilitys like upmix, downmix, etc. To test your new pcm
* run this command: aplay -D{new pcm's name} some.2.channel.wav or some.mp3.or.ogg.file
* like this example: aplay -Ddmix6 2channel.wav
* and this example: mplayer -ao alsa:device=dmix6 some.ogg
* Most GUI based sound apps like xmms have a setup or config file or drop down window
* that will allow you to choose the new pcm to use. Read the docs, faq and bug reports
* at the sound apps home page to discover how to use the new pcm.
* Post a request for a new feature at their home page if you can not use the new pcm.
* Find and copy the correct example to use to /home/$USER/.asoundrc or /etc/asound.conf .
* /home/$USER/.asoundrc is for one user OR /etc/asound.conf is for all users.
* Report success or errors on #alsa channel at freenode.net
* Search for key words that describe what you want your asoundrc to do
* OR search for your card name or type
* Copy the the asoundrc example file to /home/$USER/.asoundrc"
* Lines that begin with a "#" are comments in the asoundrc file.
* Read the comments in the asoundrc file for more details on how to use the file.
* Select the name of the asoundrc from this list of available asoundrc examples in this file.

Select and activate the link for the asoundrc file you wish to view:
2ch-to-mono
51to20
6-channel-dmix
Default_device_from_environment_variable
ICH4
ICH4-2
ICH4.conf.test
SiS7012
alsa-name-device-udev
alsa.ich5.alc650F.asoundrc
aoss-dmix
asym-example
audio-hub
bluetooth.asoundrc
card1-as-default
card1-as-default.dmix
card1-mixing
card1.dmix
card2.as.default
change_default_pcm
cmi8738-mc6
cmi8738-mc8
dmix-as-default
dmix-digital
dmix-oss
dmix-usb-audio
dmix.and.capture
dmix.to.rear.lfe.channels
dmix6-intel8x0
dmixer-bindings.example
downmix.5.1.to.2.0
downmix.2channel.111908
dshare
dsnoop.dmix
et-oss
full-duplex
ice1724
iec958-as-default
ladspa.delay
ladspa.env.2
ladspa.equalizer
ladspa.equalizer.arch
ladspa.esperegu.060508.txt
laptop.volume.preamp
m-audio-revolution51
mono-to-2.0
record.playback
sblive24bit
simple-dmix6
skype.usb.audio
softvol
softvol.cmi8738
softvol.dmix
surround51-as-default
surround71
swap.left.right.channels
teamspeak.record.audigy.playback
tidalwav1
udev.command.at.unplug.usb
upmix-and-dmix
upmix-and-dmix-8
upmix-and-dmix-intel8x0
upmix-and-dmix-intel8x0.062307
upmix-and-dmix-intel8x0.1
upmix-and-dmix8-temp
upmix.and.dmix.intel8x0.flash
usb-default
wine.2cards