[Scummvm-devel] Re: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_sound.cpp,1.156,1.157

Willem Jan Palenstijn palenstijn at planet.nl
Sun Oct 16 07:21:24 CEST 2005


On Sun, 2005-10-16 at 06:32 -0700, Torbjörn Andersson wrote:
> Update of /cvsroot/scummvm/scummvm/sword2/driver
> In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1159/driver
> 
> Modified Files:
> 	d_sound.cpp 
> Log Message:
> There was a mention of the "Expected XXX samples..." error in the IRC logs.
> Without a proper bug report, it's hard to diagnose, but this change might
> allow it to recover after such an error. Maybe.

I was hoping to find a somewhat reliable reproduction recipe before
filing a bugreport that contained basically no more information than
what I gave on the channel.

I just tried again to reproduce it, and I managed to find a way to get
it to occur fairly often (with yesterday's CVS):

Load the following savegame:
http://www.math.leidenuniv.nl/~wpalenst/sword2.003
(At the docks in Marseille.)

Remove focus from scummvm, and wait a minute or so. It should start
giving an endless list of "Expected 1 samples but got none" on the
terminal. It doesn't always immediately hang at this point, but usually
trying to play for a couple of seconds or removing/returning focus a
couple of times makes it hang.

I expect it will happen at other locations than the docks in Marseille
as well, but haven't tested that.


Your patch did indeed fix the hang, so I haven't filed this as a
bugreport on SF. It now gives a single message "WARNING: Expected 726
samples, but got none!". The music does pause for a second or so at this
point, but continues normally afterwards.


-Willem Jan






More information about the Scummvm-devel mailing list