HOWTO Setup ALSA for MythTV
From Gentoo Linux Wiki
| Installation • Kernel & Hardware • Networks • Portage • Software • System • X Server • Gaming • Non-x86 • Emulators • Misc |
|
To use ALSA, first make sure you have ALSA configured and the audio output unmuted. Refer to the Gentoo ALSA documentation. As stated in that manual, there are two ways to get ALSA running: drivers built in the kernel, and by emerging alsa-driver code>. For standard hardware, build the modules in the kernel. If you encounter any problems with your soundcard, build separate modules, but keep in mind that you have to re-emerge alsa-driver code> after a kernel update.
The default configuration is to use /dev/dsp and /dev/mixer, as suggested by MythTV. With this configuration MythTV will use the OSS emulation. To fix this, go to "Settings", "General", and on the "Audio configuration" page, set the "Audio output device" to "ALSA:default" (note there are no spaces around the colon) and the mixer to "ALSA:default". These options are to be typed into the fields, they are not mentioned in the drop-down boxes.
[edit] Alternative: Using Open Sound System (OSS)
If you would rather (or have to) use the deprecated Open Sound System (OSS) instead of ALSA, you will have to enable the oss USE flag for media-tv/mythtv.
echo "media-tv/mythtv oss" >> /etc/portage/package.use
[edit] See also
- HOWTO Alsa sound mixer
- HOWTO Dolby Digital Out (AC3, SPDIF) Read this guide if you want to set up more elaborate speaker systems.

