[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11682] branches/soc-2007-hcube/intern/ tinySND/SND_FXMixer.h: Added callback interface.

Csaba Hruska csaba.hruska at gmail.com
Sun Aug 19 12:34:58 CEST 2007


Revision: 11682
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11682
Author:   hcube
Date:     2007-08-19 12:34:58 +0200 (Sun, 19 Aug 2007)

Log Message:
-----------
Added callback interface.

Modified Paths:
--------------
    branches/soc-2007-hcube/intern/tinySND/SND_FXMixer.h

Modified: branches/soc-2007-hcube/intern/tinySND/SND_FXMixer.h
===================================================================
--- branches/soc-2007-hcube/intern/tinySND/SND_FXMixer.h	2007-08-19 10:34:12 UTC (rev 11681)
+++ branches/soc-2007-hcube/intern/tinySND/SND_FXMixer.h	2007-08-19 10:34:58 UTC (rev 11682)
@@ -7,25 +7,25 @@
 class SND_FXMixer: public SND_SoundInterface
 {
 public:
-	SND_FXMixer();
-	~SND_FXMixer();
+			SND_FXMixer();
+			~SND_FXMixer();
 	
 	// only same sample rated sounds are acceptable
-    void addSound(SND_SoundInterface* sound);
-    void removeSound(SND_SoundInterface* sound);
+    void	addSound(SND_SoundInterface* sound);
+    void	removeSound(SND_SoundInterface* sound);
 
 	SND_SoundInterface* getSoundByIdx( int idx );
-    int  getNumSounds();
+    int		getNumSounds();
 
-    void  setGain( float gain );
-    float getGain();
+    void	setGain( float gain );
+    float	getGain();
     
-    bool isMuted();
-    void setMute( bool isMuted );
+    bool	isMuted();
+    void	setMute( bool isMuted );
 
-    float getSampleRate();
-    bool isDataAvailable();
-    float* getPCMDataPtr( int framesNum );
+    float	getSampleRate();
+    bool	isDataAvailable();
+    float*	getPCMDataPtr( int framesNum );
 	
 private:
 	std::vector<SND_SoundInterface*>	mSounds;





More information about the Bf-blender-cvs mailing list