Opened 13 years ago

Closed 13 years ago

Last modified 5 months ago

#5837 closed defect

SDL mixer output buffer size warning

Reported by: SF/andreisv Owned by: digitall
Priority: normal Component: Audio
Version: Keywords:
Cc: Game:

Description

With ScummVM 1.4.0git1817-gba84788 (Aug 26 2011 05:10:42) I get the following warning on startup:

WARNING: SDL mixer output buffer size: 5512 differs from desired: 2048!

The warning is not present with 1.3.1.

Ticket imported from: #3398579. Ticket imported from: bugs/5837.

Change History (8)

comment:1 by SF/andreisv, 13 years ago

Forgot to mention I'm using win64 build

comment:2 by lordhoto, 13 years ago

I wouldn't really consider this a bug, the warning was introduced after 1.3.1 IIRC. It just notifies the user that the sound buffer is different to what we requested.

This could have various impacts on the sound though, i.e. big sound buffer sizes might lead to some minor audio delay. while small ones might cause some stuttering in case your CPU isn't able to catch up with sample production in the sound emulators etc.

comment:3 by digitall, 13 years ago

Summary: SDL mixer output buffer size warning in SVNSDL mixer output buffer size warning

comment:4 by digitall, 13 years ago

Owner: set to digitall
Resolution: invalid

comment:5 by digitall, 13 years ago

As Lordhoto indicates, this is just a warning which I added to indicate that the buffer size requested from the SDL backend was not provided. Apart from the issues Lordhoto indicated, certain parts of the ScummVM sound decoding chain may have latent issues with certain "odd" buffer sizes, but this was hard to debug as it was not clear what SDL had returned, hence the warning.

We have no control over the buffer size returned by your OS via SDL and attempts to force the size generally do not succeed (Some sound devices have fixed buffer sizes), but the task to fix any specific issues to deal with this is out of the scope of discrete bug fixing. This warning is there to provide information in specific cases to aid debugging of observed sound issues, but does not generally indicate any issues will occur. Closing as Later.

comment:6 by digitall, 13 years ago

Resolution: invalid
Status: newclosed

comment:7 by digitall, 6 years ago

Component: Audio

comment:8 by Marco Borrini <borrinimarco74@…>, 5 months ago

In 98c796d7:

AGS: Updates Steam "Beer!" & various free titles (#5837)


Co-authored-by: Walter Agazzi <walter.agazzi@…>

Note: See TracTickets for help on using tickets.