[mythtv] audio init bug in NuppelVideoPlayer::StartPlaying

George Nassas gnassas at mac.com
Tue Feb 15 05:40:45 UTC 2005


Isaac Richards wrote:
 > Gotta init the audio if you want volume control.

I don't want volume control (have it switched off) but in any case I'm 
confused. OpenFile, which is called right before the if, has a line in 
the ivtv path that says:

disableaudio = true; // no audio with ivtv.

seems like that gets cancelled out in StartPlaying:

if (!disableaudio || forceVideoOutput == kVideoOutput_IVTV)
{
    /* init audio stuff */
}

My understanding is the PVR 350's audio is not controlled through alsa 
or oss but rather gets sent down to the card through some direct route. 
Sorry if I don't get something obvious but the code seems to be telling 
me no audio init is necessary for IVTV. In fact, I'm running with the 
patch I posted and it works great. Of course, now that I've looked over 
OpenFile it looks like the forceVideoOutput comparison is superfluous.

Or, have I missed some important historical discussion?

- George



More information about the mythtv-dev mailing list