obs-audio.c: What exactly is the condition for calling add_audio_buffering?

62a

New Member
Code:
/* if a source has gone backward in time, buffer */
if (min_ts < ts.start)
add_audio_buffering(audio, sample_rate, &ts, min_ts);

If a source has gone backward in time? Does that just mean timestamps have arrived in the wrong order? What exactly do min_ts and ts.start correspond to when this comparison is made?

Buffering is frequently being added while I'm running OBS. This just started a few weeks ago and I suspect faulty computer hardware may have something to do with it.

Link to obs-audio.c
 
Top