bugFreeciv - Bugs: bug #21741, Temporary client hangs when sound...

Show feedback again

bug #21741: Temporary client hangs when sound enabled

Submitted by:  Marko Lindqvist <cazfi>
Submitted on:  Sun Mar 2 11:32:49 2014  
Category: clientSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: Operating System: Microsoft Windows
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Sun Mar 2 11:32:49 2014, original submission:

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;
const size_t buf_size = 1024;

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.

Marko Lindqvist <cazfi>
Project Administrator


(Note: upload size limit is set to 1024 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by cazfi (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Error: not logged in



    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun Mar 2 12:02:37 2014cazfiSummaryTemporary client hands when sound enabled=>Temporary client hangs when sound enabled
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup