Here is doc on Advanced Linux Sound Architecture (see: Set the default sound card)
https://wiki.archlinux.org/index.php/Advanced_Linux_Sound_Architecture
In Raspbian Jessie, File /etc/modprobe.d/alsa-base.conf is removed. You need to set default in /usr/share/alsa/alsa.conf
All the relevant text is in that file just run
sudo nano /usr/share/alsa/alsa.conf
change the default sound card to 1 or whatever you prefer obviously 0 is default so not that I also deleted the # from the line that says...
# load card-specific configuration files (on request)
and now I have the sound coming from my audio card running Debian 8 Jessie on RPi2B.
sudo nano /usr/share/alsa/alsa.conf
defaults.ctl.card 0
defaults.pcm.card 0
# load card-specific configuration files (on request)
Change To
defaults.ctl.card 1
defaults.pcm.card 1
load card-specific configuration files (on request)
OR
Just Edit/Create a file called /etc/asound.conf or ~/.asoundrc and insert this lines:
sudo nano /etc/asound.conf
pcm.!default {
type hw
card 1
}
ctl.!default {
type hw
card 1
}
OR
Just Edit/Create a file called /etc/modprobe.d/alsa-base.conf
and insert this lines:
sudo nano /etc/modprobe.d/alsa-base.conf
# This sets the index value of the cards but doesn't reorder.options snd_usb_audio index=0options snd_bcm2835 index=1# Does the reordering.options snd slots=snd_usb_audio,snd_bcm2835
Reboot the device, and confirm the change using command