[asterisk-users] hdmi an console dsp
Jerry Geis
geisj at pagestation.com
Sun Jan 11 14:20:40 CST 2009
>
> erry Geis wrote:
> >/ I am trying to connect audio through HDMI on a config.
> />/ aplay -l gives:
> />/ **** 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
> />/
> />/
> />/ So I change my alsa.conf file to:
> />/ ; To set which ALSA device to use, change this parameter
> />/ input_device=hw:0,3
> />/ output_device=hw:0,3
> />/
> /<snip>
>
> HDMI only carries audio in one direction, so I'm guessing trying to open
> hw:0,3 for audio input is failing.
>
> What does 'arecord -l' show? your input_device should come from that list.
>
>
Paul,
**** List of CAPTURE Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: VT1708B Analog [VT1708B Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
I think your correct from the above.
however, what do I do about it.
I tried setting:
input_device=hw:0,0
output_device=hw:0,3
and I still get errors:
^[[1;30;40m == ^[[0;37;40mParsing '/etc/asterisk/alsa.conf': Found
[Jan 11 15:15:51] ^[[31;40mERROR^[[0;37;40m[19093]:
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m385^[[0;37;40m
^[[1;37;40malsa_card_init^[[0;37;40m: set_channels failed: Invalid argument
[Jan 11 15:15:51] ^[[1;31;40mWARNING^[[0;37;40m[19093]:
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m390^[[0;37;40m
^[[1;37;40malsa_card_init^[[0;37;40m: Rate not correct, requested 8000,
got 44100
[Jan 11 15:15:51] ^[[31;40mERROR^[[0;37;40m[19093]:
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m385^[[0;37;40m
^[[1;37;40malsa_card_init^[[0;37;40m: set_channels failed: Invalid argument
[Jan 11 15:15:51] ^[[1;31;40mWARNING^[[0;37;40m[19093]:
^[[1;37;40mchan_alsa.c^[[0;37;40m:^[[1;37;40m390^[[0;37;40m
^[[1;37;40malsa_card_init^[[0;37;40m: Rate not correct, requested 8000,
got 48000
^[[1;30;40m == ^[[0;37;40mRegistered channel type 'Console' (ALSA
Console Channel Driver)
How would I correctly set this up?
I dont need audio in at all. Just out.
jerry
More information about the asterisk-users
mailing list