http://ywwg.com/wordpress/?cat=13
As I notice that the title of this thread is a little off, as it's not the audio that is lagged, it's the video. Anyway jack-rack in combination with jackd and qjackctl allows a plugin effect of an audio delay. So audio is just as lagged as the video, and therefor in sync. ~ 0.164 seconds for my system.
In short:
start jackd:
$ jackd -d alsa -C hw:0 -P hw:0 -S -r 48000 &
start jack-rack
start qjackctl
$ jack-rack &
$ qjackctl
- click Connect on qjackctl. Another window should pop up.
- Expand the lists on each side.
- Connect capture_1 of system to in_1 of jack_rack. Do the same for 2.
- Connect out_1 of jack_rack with playback_1 of system. Do the same for 2.
In my case my VCR is providing audio input to the same card that will be playing the output. If you used a cd-audio cable, then your setup is roughly equivalent. Onto jack-rack.
- Click channels, and say OK to 2 channels. (it's probably already that way)
- Click ADD, then Uncategorised -> E -> Echo Delay Line (Maximum Delay 5s)
- Adjust the delay "Delay (Seconds)" to your liking (0.164 for me).
- Start your TV viewer. (if it's not already)
- Sit back and enjoy much better sync between video and audio.
In my case I hooked up my Sony Cybershot to my VCR, and my audio gear to the VCR. And controlling what I was watching while making adjustments. Which is how I got my delay fine tuned. Otherwise I was +/- 0.050 seconds. In the ballpark, but enunciations still bugged me. Especially with various programs / commercials which are not broadcast in sync. I'll probably do the same with an actual metronome to "do the math" and get the real number, eventually.
HTH