[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11563] branches/soc-2007-hcube/intern/ tinySND/SND_DataProvider.h: Changed fillBuffer parameter list.
Csaba Hruska
csaba.hruska at gmail.com
Sun Aug 12 16:30:59 CEST 2007
Revision: 11563
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11563
Author: hcube
Date: 2007-08-12 16:30:59 +0200 (Sun, 12 Aug 2007)
Log Message:
-----------
Changed fillBuffer parameter list.
Modified Paths:
--------------
branches/soc-2007-hcube/intern/tinySND/SND_DataProvider.h
Modified: branches/soc-2007-hcube/intern/tinySND/SND_DataProvider.h
===================================================================
--- branches/soc-2007-hcube/intern/tinySND/SND_DataProvider.h 2007-08-12 14:22:59 UTC (rev 11562)
+++ branches/soc-2007-hcube/intern/tinySND/SND_DataProvider.h 2007-08-12 14:30:59 UTC (rev 11563)
@@ -8,33 +8,33 @@
{
public:
- virtual ~SND_DataProvider() {}
+ virtual ~SND_DataProvider() {}
- // true if file loading is succed, false if there was an error
- virtual bool isFormatSupported() = 0;
+ // true if file loading is succed, false if there was an error
+ virtual bool isFormatSupported() = 0;
- int getNumFrames() const { return mNumFrames; }
- float getDuration() const { return mDuration; } // in sec
+ int getNumFrames() const { return mNumFrames; }
+ float getDuration() const { return mDuration; } // in sec
- float getSampleRate() const { return mSampleRate; }
- int getBitRate() const { return mBitRate; }
+ float getSampleRate() const { return mSampleRate; }
+ int getBitRate() const { return mBitRate; }
- int getNumChannels() const { return mNumChannels; }
+ int getNumChannels() const { return mNumChannels; }
- int isSeekable() const { return mIsSeekable; }
+ bool isSeekable() const { return mIsSeekable; }
- virtual void seek( int frameNum ) = 0;
+ virtual void seek( int frameNum ) = 0;
- virtual int fillBuffer( float *buffer, int channelIndex, int framesNum ) = 0;
+ virtual int fillBuffer( float *buffer, int framesNum ) = 0;
protected:
- int mNumFrames;
- float mDuration;
- int mBitRate;
- float mSampleRate;
- int mNumChannels;
- int mCurrentFrame;
- bool mIsSeekable;
+ int mNumFrames;
+ float mDuration;
+ int mBitRate;
+ float mSampleRate;
+ int mNumChannels;
+ int mCurrentFrame;
+ bool mIsSeekable;
};
#endif //__SND_DATAPROVIDER_H__
More information about the Bf-blender-cvs
mailing list