[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11626] branches/soc-2007-hcube/intern/ tinySND/intern: bugfix: uninitialized attribute - mIsMuted.
Csaba Hruska
csaba.hruska at gmail.com
Thu Aug 16 15:39:12 CEST 2007
Revision: 11626
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11626
Author: hcube
Date: 2007-08-16 15:39:12 +0200 (Thu, 16 Aug 2007)
Log Message:
-----------
bugfix: uninitialized attribute - mIsMuted.
Modified Paths:
--------------
branches/soc-2007-hcube/intern/tinySND/intern/SND_FXDuplicator.cpp
branches/soc-2007-hcube/intern/tinySND/intern/SND_FXSample.cpp
Modified: branches/soc-2007-hcube/intern/tinySND/intern/SND_FXDuplicator.cpp
===================================================================
--- branches/soc-2007-hcube/intern/tinySND/intern/SND_FXDuplicator.cpp 2007-08-16 12:55:40 UTC (rev 11625)
+++ branches/soc-2007-hcube/intern/tinySND/intern/SND_FXDuplicator.cpp 2007-08-16 13:39:12 UTC (rev 11626)
@@ -5,6 +5,7 @@
{
mNumCopy = 1;
mInput = 0;
+ mIsMuted = false;
}
SND_FXDuplicator::~SND_FXDuplicator()
Modified: branches/soc-2007-hcube/intern/tinySND/intern/SND_FXSample.cpp
===================================================================
--- branches/soc-2007-hcube/intern/tinySND/intern/SND_FXSample.cpp 2007-08-16 12:55:40 UTC (rev 11625)
+++ branches/soc-2007-hcube/intern/tinySND/intern/SND_FXSample.cpp 2007-08-16 13:39:12 UTC (rev 11626)
@@ -32,7 +32,6 @@
SND_FXSample::SND_FXSample( SND_DataProvider *dataProvider, int channelIdx )
{
SND_DataCache *dataCache = new SND_DataCache( dataProvider );
-
mDataCache = dataCache;
mPlayState = SND_FXSample::STOPPED;
@@ -195,7 +194,7 @@
int numFrames = getNumFrames();
int framesDone = 0;
int i;
-
+
// resize buffer if necessary
if( mBufferSize < framesNum )
{
More information about the Bf-blender-cvs
mailing list