[mythtv-users] MythTV does not regain audio control.
Robin Gilks
g8ecj at gilks.org
Mon Jul 14 10:32:36 UTC 2008
> I am having a hard time figuring this one out. I recently upgraded to the
> newest version and was hoping that would help with a problem I have been
> having for a while.
> Here is the problem. Sometimes, not often or predictably, after using xine
> to watch a movie with surround sound MythTV does not seem to regain
> control
> of the sound card. If i try to watch a recording there is no sound at all.
> If I try to listen to music it is the same story; but if i return to myth
> video and select another movie, the sound works great. A quick reboot
> solves
> the problem. I can't figure it out. Is xine not letting go of the sound
> card?Is MythTV the problem?
>
> Any ideas would be greatly appreciated. By the way, I am usig digital coax
> to pass the sound directly to my receiver.
Don't worry - you're not alone. If I wasn't about to go to bed, this is
what I'd do (and I will do tomorrow to fix it here)...
alsactl -f ~/tempfile1 store
run xine so the problem occurs
alsactl -f ~/tempfile2 store
diff -u tempgile1 tempfile2
and see what controls have been changed and not restored by xine.
You could always put xine into a shell script that saves the state of alsa
and then restores it. Something like this (not tested)
alsactl -f ~/tempfile1 store
xine $@
alsactl -f ~/tempfile1 restore
--
Robin Gilks
More information about the mythtv-users
mailing list