tim.otten
February 15th, 2010, 10:17 AM
I recently upgraded my Ubuntu desktop from 8.10 to 9.10. The desktop had a working MythTV frontend+backend installation configured with a WinTV Go capture card. After upgrading, the sound stopped working in two ways. I wanted to post a quick note on my experience.
Firstly, the frontend wouldn't play sound for previously recorded TV. Some Google searching led me to this forum (and some similar ones) which pointed out that one can fix this by passing an environment variable to mythfrontend, e.g.
export EXPERIMENTALLY_ALLOW_PULSE_AUDIO=1
Great. One problem solved.
Secondly, even once the frontend played sound for previous recordings, it would not play sound for live TV. This was a familiar problem -- the volume settings for the audio capture device were wrong, so mythbackend was unable to record audio. In the past, one could use alsamixer to twiddle the audio capture volume. However, under 9.10, alsamixer appears heavily neutered, and it seems that pulseaudio's mixer is "preferred."
I've searched Google, pulseaudio.org, mythtv.org, ubuntu.com, et al for guidance on how to get the audio-capture working correctly with mythbackend and pulseaudio. The only useful suggestion I found was to uninstall pulseaudio, e.g.
http://ubuntuforums.org/showthread.php?t=1404161
Of course, this is a bit ugly -- it breaks the volume widget in the main Gnome panel, it breaks the volume hotkeys, etc. Instead, one can trying removing the stock /etc/asound.conf:
mv /etc/asound.conf /etc/asound.conf-pulseaudio-bak
This file has several references to pulseaudio. If you remove it, then the alsamixer will work again, and you can twiddle the audio capture volume.
Firstly, the frontend wouldn't play sound for previously recorded TV. Some Google searching led me to this forum (and some similar ones) which pointed out that one can fix this by passing an environment variable to mythfrontend, e.g.
export EXPERIMENTALLY_ALLOW_PULSE_AUDIO=1
Great. One problem solved.
Secondly, even once the frontend played sound for previous recordings, it would not play sound for live TV. This was a familiar problem -- the volume settings for the audio capture device were wrong, so mythbackend was unable to record audio. In the past, one could use alsamixer to twiddle the audio capture volume. However, under 9.10, alsamixer appears heavily neutered, and it seems that pulseaudio's mixer is "preferred."
I've searched Google, pulseaudio.org, mythtv.org, ubuntu.com, et al for guidance on how to get the audio-capture working correctly with mythbackend and pulseaudio. The only useful suggestion I found was to uninstall pulseaudio, e.g.
http://ubuntuforums.org/showthread.php?t=1404161
Of course, this is a bit ugly -- it breaks the volume widget in the main Gnome panel, it breaks the volume hotkeys, etc. Instead, one can trying removing the stock /etc/asound.conf:
mv /etc/asound.conf /etc/asound.conf-pulseaudio-bak
This file has several references to pulseaudio. If you remove it, then the alsamixer will work again, and you can twiddle the audio capture volume.