[Scummvm-cvs-logs] SF.net SVN: scummvm:[38951] scummvm/trunk/engines/sci/sfx/mixer.cpp
wjpalenstijn at users.sourceforge.net
wjpalenstijn at users.sourceforge.net
Sat Feb 28 11:04:40 CET 2009
Revision: 38951
http://scummvm.svn.sourceforge.net/scummvm/?rev=38951&view=rev
Author: wjpalenstijn
Date: 2009-02-28 10:04:40 +0000 (Sat, 28 Feb 2009)
Log Message:
-----------
Initialize mixer feed variables
Modified Paths:
--------------
scummvm/trunk/engines/sci/sfx/mixer.cpp
Modified: scummvm/trunk/engines/sci/sfx/mixer.cpp
===================================================================
--- scummvm/trunk/engines/sci/sfx/mixer.cpp 2009-02-28 07:23:31 UTC (rev 38950)
+++ scummvm/trunk/engines/sci/sfx/mixer.cpp 2009-02-28 10:04:40 UTC (rev 38951)
@@ -121,8 +121,11 @@
P->conf.stereo = SFX_PCM_STEREO_LR;
P->conf.format = SFX_PCM_FORMAT_S16_NATIVE;
P->_framesize = SFX_PCM_FRAME_SIZE(P->conf);
+
+ P->feeds_nr = 0;
+ P->feeds_allocd = 0;
+ P->feeds = 0;
-
int flags = Audio::Mixer::FLAG_16BITS | Audio::Mixer::FLAG_STEREO;
#ifdef SCUMM_LITTLE_ENDIAN
flags |= Audio::Mixer::FLAG_LITTLE_ENDIAN;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list