Mark Jenks wrote: > On Thu, Jan 8, 2009 at 1:12 PM, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote: > >> I am using the console/dsp (sound card function) and ALSA with asterisk >> on a motherboard with HDMI. >> If I am using analog sound on the motherboard everything works. >> If I switch to the digital sound everything else works but asterisk... >> No sound I mean. >> >> /etc/asound.conf for analog is: >> pcm.snd_card { >> type hw >> card 0 >> device 0 >> } >> >> /etc/asound.conf for digital is: >> pcm.snd_card { >> type hw >> card 0 >> device 3 >> } >> >> aplay -l >> **** List of PLAYBACK Hardware Devices **** >> card 0: NVidia [HDA NVidia], device 0: VT1708B Analog [VT1708B Analog] >> Subdevices: 1/2 >> Subdevice #0: subdevice #0 >> Subdevice #1: subdevice #1 >> card 0: NVidia [HDA NVidia], device 3: NVIDIA HDMI [NVIDIA HDMI] >> Subdevices: 1/1 >> Subdevice #0: subdevice #0 >> >> So I thought I was setup correctly - but what is wrong with digital ? >> >> Is there something else special to do to get an application like >> asterisk using the >> digital sound? >> >> Thanks, >> >> Jerry >> >> >> > > Why do you have both of your configs in asound.conf set to pcm.snd_card ? > > Name one pcm.analog, and the other pcm.digital or whatever you want to use. > > Then use aplay -D (analog or digital) /usr/share/sounds/alsa/Noise.wav > to use them. > > -Mark > > Mark - thanks for looking into my situation. I actually dont have both in asound.conf at the same time. I just change "device 0" to "device 3" I dont want to be able to use either... I just want the digital to operate with asterisks. Jerry ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Alsa-user mailing list Alsa-user@xxxxxxxxxxxxxxxxxxxxx https://lists.sourceforge.net/lists/listinfo/alsa-user