Bug 66426

Summary: Recording a monitor when nothing is playing results in 2 seconds of extra silence
Product: PulseAudio Reporter: Maarten Baert <maarten-baert>
Component: coreAssignee: pulseaudio-bugs
Status: RESOLVED MOVED QA Contact: pulseaudio-bugs
Severity: normal    
Priority: medium CC: lennart
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Maarten Baert 2013-07-01 01:32:32 UTC
When I record a monitor when nothing is playing, my application always receives 2 seconds of silence during the first few milliseconds. I assume this is sound from the past, but I can't tell because it's just silence. This behaviour creates problems in my application, and I suppose in other applications as well.

My application deals with both audio and video, and the unexpected extra two seconds of audio are more than enough to desynchronize the audio and the video. I am now working around this by dropping all audio frames that I receive within the first 100ms, but this is clearly not ideal.

This does not happen when there is anything playing. It also doesn't happen when I record the microphone.
Comment 1 GitLab Migration User 2018-07-30 10:20:04 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/issues/352.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.