URL:
<http://gna.org/bugs/?21741>
Summary: Temporary client hands when sound enabled
Project: Freeciv
Submitted by: cazfi
Submitted on: Sun 02 Mar 2014 01:32:49 PM EET
Category: client
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: Microsoft Windows
Planned Release:
_______________________________________________________
Details:
As long as I have had sound enabled crosser builds, I've got reports that
client occasionally does not accept input for a couple of seconds. This only
happens when sound plugin sdl is selected, changing client options to use
"None" plugin prevents it.
Now I found this comment in audio_sdl.c:
/* Sounds don't sound good on Windows unless the buffer size is 4k,
* but this seems to cause strange behaviour on other systems,
* such as a delay before playing the sound. */
#ifdef WIN32_NATIVE
const size_t buf_size = 4096;
#else
const size_t buf_size = 1024;
#endif
Maybe the "strange behavior ... delay before playing the sound." applies to
Windows too (at least crosser based builds). At worst this is choice between
two bugs, at best crosser based builds could use 1k buffer size like most
systems.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21741>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev