Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have one app where the audio is ahead of the video, so I'd like to delay the audio for half a second. I'm currently redirecting the app's audio to a pulseaudio null module, and then using parec to send the monitor output to an external buffering program, which then outputs the data half a second later back to pulse. Is there an easier way within pulseaudio to do this?

share|improve this question

migrated from stackoverflow.com Jan 1 '13 at 12:12

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

The loopback module will allow you to add up to 2 seconds of delay between a source and a sink.

share|improve this answer
    
perfect, thanks! – gimmeamilk Jan 1 '13 at 3:27

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.