[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [11612] branches/soc-2007-hcube/intern/ tinySND/blender/SND_C-api.h: Added new SND_GetSoundFramePos function.
Csaba Hruska
csaba.hruska at gmail.com
Wed Aug 15 10:30:24 CEST 2007
Revision: 11612
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=11612
Author: hcube
Date: 2007-08-15 10:30:24 +0200 (Wed, 15 Aug 2007)
Log Message:
-----------
Added new SND_GetSoundFramePos function.
Modified Paths:
--------------
branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.h
Modified: branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.h
===================================================================
--- branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.h 2007-08-15 08:29:10 UTC (rev 11611)
+++ branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.h 2007-08-15 08:30:24 UTC (rev 11612)
@@ -22,24 +22,26 @@
} SND_SoundInfo;
// general
-extern int SND_IsInitialized(void);
-extern void SND_Initialize(void);
-extern void SND_Finalize(void);
-extern int SND_GetMixRate(void);
+extern int SND_IsInitialized(void);
+extern void SND_Initialize(void);
+extern void SND_Finalize(void);
+extern int SND_GetMixRate(void);
// sound handling
-extern SND_SoundIHandle SND_NewSound( char *filename ); // hides various DataProvider backends
-extern SND_SoundIHandle SND_CloneSound( SND_SoundIHandle sound );
-extern void SND_DeleteSound( SND_SoundIHandle sound );
+extern SND_SoundIHandle SND_NewSound( char *filename ); // hides various DataProvider backends
+extern void SND_DeleteSound( SND_SoundIHandle soundHandle );
-extern int SND_IsPlayingSound( SND_SoundIHandle sound );
-extern void SND_PlaySound( SND_SoundIHandle sound );
-extern void SND_StopSound( SND_SoundIHandle sound );
-extern void SND_SeekSound( SND_SoundIHandle sound, int frameNum );
-extern void SND_GetSoundInfo( SND_SoundIHandle sound, SND_SoundInfo *sndInfo );
+extern int SND_IsPlayingSound( SND_SoundIHandle soundHandle );
+extern void SND_PlaySound( SND_SoundIHandle soundHandle );
+extern void SND_StopSound( SND_SoundIHandle soundHandle );
-extern void SND_StopAllSounds(void);
+extern void SND_SeekSound( SND_SoundIHandle soundHandle, int frameNum );
+extern int SND_GetSoundFramePos( SND_SoundIHandle soundHandle );
+extern void SND_GetSoundInfo( SND_SoundIHandle soundHandle, SND_SoundInfo *sndInfo );
+
+extern void SND_StopAllSounds(void);
+
#ifdef __cplusplus
}
#endif
More information about the Bf-blender-cvs
mailing list