New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SDL_CloseAudio takes 2 seconds to return when using the Pulseaudio driver. #673
Comments
@icculus: Can you see anything wrong with the pulseaudio patch?
|
My understanding from the Pulse docs is that flush() drops any audio we fed to the device that hasn't been played yet, whereas drain() waits for it to finish playing. Does this still hang for 2 seconds on modern PulseAudio installs? Someone mentioned a newer (now also old) Pulse fixed this. |
Yes,
Tried on a newish (now old) Linux setup with pulseaudio-12.2, no delays. |
My concern is that if you have, say, a command line media player, and you play an mp3 file and once you've given all the audio to SDL, you close the device and terminate the app, the last half-second of audio isn't going to play with this change. I'd be inclined to mark this wontfix and leave the extra delay in older PulseAudio installs. |
OK, closing as wontfix. |
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 1.2.14
Reported for operating system, platform: Linux, x86
Comments on the original bug report:
On 2012-03-15 17:20:57 +0000, wrote:
On 2012-03-15 17:40:48 +0000, wrote:
On 2012-03-19 15:43:22 +0000, wrote:
On 2012-03-19 15:47:38 +0000, wrote:
On 2012-03-19 16:37:25 +0000, wrote:
On 2012-03-19 16:43:19 +0000, wrote:
On 2012-03-22 21:24:36 +0000, Ryan C. Gordon wrote:
On 2012-03-23 15:36:48 +0000, wrote:
On 2012-08-06 08:35:35 +0000, Stas Sergeev wrote:
On 2013-11-11 01:21:19 +0000, Sam Lantinga wrote:
On 2015-02-16 19:04:15 +0000, Stas Sergeev wrote:
On 2015-08-25 09:38:23 +0000, Ryan C. Gordon wrote:
The text was updated successfully, but these errors were encountered: