On Tue, Dec 1, 2009 at 8:23 AM, Moasat <[email protected]> wrote:
> I normally have to run a script that sets the audio-in on both
> cards to line-in (or something, I forget) to get them to reset the audio.
> I
> usually do this about every 10 seconds but have since backed that off. I
> never got the timing right to do it after a Myth channel change like I
> wanted to.
Since I'm using the IR blaster to change channels on my setup, it was fairly
trivial to add this in the channel change script that I use. Perhaps you
could use a script to change channels directly on the card, instead, and
then reset the audio input. You'd need to create a script for each tuner, of
course.
So as not to cause excessive delay for the MythTV backend, I backgrounded
the reset task. Here's the last line of my channel change script:
nohup sh -c "sleep 2.5; /usr/local/bin/v4l2-ctl -d ${VIDEODEV}
--set-audio-input=1" </dev/null >/dev/null 2>&1 &
--scott
_______________________________________________
ivtv-devel mailing list
[email protected]
http://ivtvdriver.org/mailman/listinfo/ivtv-devel