[mythtv-users] MythMusic and ALSA?

Paul Bender pebender at san.rr.com
Wed May 10 11:39:29 EDT 2006


Francesco Peeters wrote:

> Hi all,
> 
> I have managed to get MythTV working mostly with the ALSA drivers for my 
> card, including the Softvol plugin.
> 
> LiveTV and recordings works fine, however playing music does not...
> 
> When I use the interface set to default (even when typed in manually), 
> it shows 'standaard' (As it is set up for Dutch), and I hear no music. 
> When I type in ALSA:default, no music either
> When I choose /dev/dsp I do hear music, but the mixer won't work, 
> because it requires the softvol defined in the asound conf file...
> 
> Searching the web gave me very little useful information, so I am trying 
> the list...
> 
> Does anybody have Myth using ALSA directly with successful music 
> playback as well?

I use MythMusic with ALSA.

One problem that you may run into is a sample rate problem. Often the 
digital audio output is 48kHz. If the sound is at 48kHz, then there is 
no problem. If the sound is not 48kHz (music is often 44.1kHz), then you 
need to configure ALSA to appropriately. For example, I have the 
following in my /etc/asound.conf file:

pcm.!default {
     type plug
     slave {
         pcm "hw:0,0"
         rate 48000
     }
}

ctl.!default {
     type hw
     card 0
}


More information about the mythtv-users mailing list