Re: hdmi audio with asterisk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jan 9, 2009 at 7:01 AM, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
>
>
> 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
>

Can you test aplay -D hw0,3 /usr/share/sounds/alsa/Noise.wav and see
if you get sound.

If you get no sound there, that's where we need to start.

If you do, just specify hw0,3 in asterisk, or, sometimes you have to
use ALSA:hw:0,3

-Mark

------------------------------------------------------------------------------
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

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux