Summary: | Shorter-than-prebuf streams are silent if started corked | ||
---|---|---|---|
Product: | PulseAudio | Reporter: | Tanu Kaskinen <tanuk> |
Component: | core | Assignee: | Tanu Kaskinen <tanuk> |
Status: | RESOLVED FIXED | QA Contact: | pulseaudio-bugs |
Severity: | normal | ||
Priority: | medium | CC: | lennart |
Version: | unspecified | Keywords: | patch |
Hardware: | Other | ||
OS: | All | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: |
Test program for reproducing the bug
Quick hack to fix (or work around) the bug |
Description
Tanu Kaskinen
2013-05-06 15:52:04 UTC
Created attachment 78933 [details]
Test program for reproducing the bug
The test program does the following:
* creates a stream with PA_STREAM_START_CORKED and 400 ms prebuf
* writes 200 ms long sine wave
* calls pa_stream_drain() (the operation doesn't complete before uncorking)
* waits 10 seconds
* uncorks the stream
Created attachment 78934 [details] [review] Quick hack to fix (or work around) the bug I will try to come up with a cleaner fix. Patch sent to the mailing list: http://thread.gmane.org/gmane.comp.audio.pulseaudio.general/16918 |
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.