[mythtv-users] Sound in mythtv but no where else

Igor Cicimov icicimov at gmail.com
Thu Jul 19 05:25:48 UTC 2012

On Thu, Jul 19, 2012 at 2:02 PM, Kevin Johnson <dabears_rule at yahoo.com>wrote:

> Well things have changed, for the worse.
> I tried as jyavenard suggested.  Still had no sound outside of mythtv with
> hdmi.
> So, I decided to switch back to spdif as I had upgraded alsa in the last
> few days.  I wanted to see if the popping sound still existed when I exit
> or enter live tv.  It still pops.
> So I decided to ho back to hdmi.  Now when I try any of the hdmi options
> in the setup menu, then use test speakers, I get an error "audio device is
> invalid or not useable"  That goes for any of the hdmi choices.  And of
> course there is no sound in mythtv now.
> Not sure what is going on but I am considering a clean install.  Something
> is just hosed.
> Right now I am using spdif and living with the popping sound.
> Strange that spdif works everywhere but hdmi does not.  If the spdif did
> not pop and hum, I would just use it.
> I will give this a few more days and maybe do a clean install this weekend.
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://www.mythtv.org/mailman/listinfo/mythtv-users
Hi Kevin,

First if you do changes in alsa config file then you need to restart ALSA
or at least log off your current session if your change .asoundrc file.
Then after restart/login you should choose ALSA:default in MythTV as this
option should be now available in the menu settings.

One problem I have with my ALSA, that's on Mythbuntu 10.04 with alsa
1.0.24, is that on every reboot ALSA changes my HDMI device number.
Sometimes it is card 1 device 3 and other times it creates it as card 2
device 3. That's why I have a script that on every reboot changes the
device numbers in .asoundrc file. So sometimes I would have:

pcm.!default {
   type plug
   slave.pcm "dmix:1,3"

and other times:

pcm.!default {
   type plug
   slave.pcm "dmix:2,3"

and all the applications (which is default setting for most of them anyway)
including MythTV I have set to use ALSA:default device.

This problem obviously only arises if you have ALL of the audio devices
enabled. If you disable the on-board audio, as given in the pointed
tutorial above, you obviously won't have this problem since the HDMI will
be the only output and always has the same device allocated.

More information about the mythtv-users mailing list