MyTV
Below is a shell script I wrote to watch tvtime with synchronized audio on SAA7133 / SAA7134 chipsets and linux distros that don’t take care of it automatically. As of this writing, I’m still using Ubuntu 7.04 Feisty awaiting the Intrepid release in a matter of days; unfortunately, feisty had not included support for tv hardware so syncing audio with a little help from sox was necessary.
1 2 3 4 5 6 7 8 | #!/bin/sh tvtime &; t=`pidof tvtime`; sleep 5; sox -c 2 -r 32000 -t ossdsp /dev/dsp1 -c 2 -r 32000 -t ossdsp /dev/dsp &; wait $t killall -9 sox; exit 0; |