Re: hdmi audio with asterisk

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

 




Mark Jenks wrote:
> On Sat, Jan 10, 2009 at 2:18 PM, Jerry Geis <geisj@xxxxxxxxxxxxxxx> wrote:
>   
>>> 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
>>>
>>>
>>>       
>> Mark,
>>
>> I switched back to HDMI today. I can do a normal aplay tesst.wav and I hear
>> the audio just fine.
>> However when running asterisk is get an error:
>> [Jan 10 15:10:14] ^[[31;40mERROR^[[0;37;40m[22774]:
>> ^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m366^[[0;37;40m
>> ^[[1;37;40malsa_card_init^[[0;37;40m: snd_pcm_open failed: No such file or
>> directory
>> [Jan 10 15:10:14] ^[[31;40mERROR^[[0;37;40m[22774]:
>> ^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m484^[[0;37;40m
>> ^[[1;37;40msoundcard_init^[[0;37;40m: Problem opening alsa I/O devices
>> ^[[1;30;40m  == ^[[0;37;40mNo sound card detected -- console channel will be
>> unavailable
>> ^[[1;30;40m  == ^[[0;37;40mTurn off ALSA support by adding
>> 'noload=chan_alsa.so' in /etc/asterisk/modules.conf
>> chan_alsa.so => (^[[33;40mALSA Console Channel Driver^[[0;37;40m)
>>
>> my asound.conf file is
>> pcm.snd_card {
>>    type hw
>>    card 0
>>    device 3
>> }
>>
>> **** List of PLAYBACK Hardware Devices ****
>> card 0: NVidia [HDA NVidia], device 0: VT1708B Analog [VT1708B Analog]
>>  Subdevices: 2/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
>>
>>
>> If I set the asound.conf to device 0 and run the following I get an error:
>> aplay -D hw0,3 test.wav
>> ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM hw0,3
>> aplay: main:590: audio open error: No such file or directory
>>
>> The other command also gives an error.
>> aplay -D ALSA:hw:0,3 test.wav
>> ALSA lib pcm.c:2202:(snd_pcm_open_noupdate) Unknown PCM ALSA:hw:0,3
>> aplay: main:590: audio open error: No such file or directory
>>
>>
>> What am I not doing right to get asterisk to work with alsa when using HDMI?
>>
>> Jerry
>>
>>     
>
> If you can do an aplay and get sound of of HDMI, then everything is
> setup fine in alsa.
>
> If that is the case, then the config in asterisk needs to be addressed.
>
> -Mark
>
>   

Mark

I thought the asound.conf made the application independant?
Do you have any thoughts on how to correctly set asterisk for HDMI sound?
Thanks for your assistance.
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

[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