[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [10987] branches/soc-2007-hcube/intern/ tinySND/blender: Added fake SND_GetSoundMethod implementation.

Csaba Hruska csaba.hruska at gmail.com
Wed Jun 20 18:21:16 CEST 2007


Revision: 10987
          http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=10987
Author:   hcube
Date:     2007-06-20 18:21:16 +0200 (Wed, 20 Jun 2007)

Log Message:
-----------
Added fake SND_GetSoundMethod implementation.

Modified Paths:
--------------
    branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.cpp
    branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.h

Modified: branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.cpp
===================================================================
--- branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.cpp	2007-06-20 16:20:08 UTC (rev 10986)
+++ branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.cpp	2007-06-20 16:21:16 UTC (rev 10987)
@@ -87,6 +87,11 @@
 
 void SND_GetSoundInfo( SND_SoundIHandle sound, SND_SoundInfo *sndInfo )
 {
+	// !!!!!!!!! UNIMPLEMENTED YET !!!!!!!!!!!!!!!!!
+	sndInfo->channelsNum = 2;
+	sndInfo->framesNum = 60;
+	sndInfo->bitRate = 16;
+	sndInfo->frameRate = 44100.0;
 }
 
 void SND_StopAllSounds(void)

Modified: branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.h
===================================================================
--- branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.h	2007-06-20 16:20:08 UTC (rev 10986)
+++ branches/soc-2007-hcube/intern/tinySND/blender/SND_C-api.h	2007-06-20 16:21:16 UTC (rev 10987)
@@ -16,6 +16,7 @@
 {
     int channelsNum;
     int framesNum;
+	int bitRate;
     float frameRate;
     
 } SND_SoundInfo;





More information about the Bf-blender-cvs mailing list