[mythtv-users] ALSA Device works fine with mplayer but MythFrontend rejects it?
Ben Lancaster
mail at benlancaster.co.uk
Mon Aug 4 22:42:22 UTC 2008
Hey,
So, I'm trying to playback audio via a known-working ALSA device.
"aplay -l" gives:
**** List of PLAYBACK Hardware Devices ****
card 0: V8237 [VIA 8237], device 0: VIA 8237 [VIA 8237]
Subdevices: 4/4
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
Subdevice #2: subdevice #2
Subdevice #3: subdevice #3
card 0: V8237 [VIA 8237], device 1: VIA 8237 [VIA 8237]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: raoppcm [ALSA RAOPPCM], device 0: raop pcm [raop pcm]
Subdevices: 1/1
Subdevice #0: subdevice #0
...and it's the ALSA RAOPPCM device (1,0) that I'm trying to play to.
The following mplayer command works without a problem:
mplayer -vo null -ao alsa:device=hw=1,0 /path/to/my/video.avi
When I set the device in the General settings of MythFrontend to
ALSA:hw:1,0 (as suggested by the wiki), I get the following error from
mythfrontend when playing back:
ALSA lib pcm_hw.c:1240:(_snd_pcm_hw_open) Invalid value for card
2008-08-04 23:34:41.893 AudioOutput Error: snd_pcm_open(hw:1,0): No
such file or directory
2008-08-04 23:34:41.893 NVP: Disabling Audio, reason is:
snd_pcm_open(hw:1,0): No such file or directory
I can't figure out what the syntax should be or where I'm going wrong?
I've tried several variations, but none of them seem to work. Can you
help?
Ben
More information about the mythtv-users
mailing list