[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [30304] branches/soc-2010-nexyon/source/ gameengine/Ketsji/KX_PythonInit.cpp: Removed stopDSP, relict from FMOD.
Joerg Mueller
nexyon at gmail.com
Wed Jul 14 11:01:31 CEST 2010
Revision: 30304
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=30304
Author: nexyon
Date: 2010-07-14 11:01:31 +0200 (Wed, 14 Jul 2010)
Log Message:
-----------
Removed stopDSP, relict from FMOD.
Modified Paths:
--------------
branches/soc-2010-nexyon/source/gameengine/Ketsji/KX_PythonInit.cpp
Modified: branches/soc-2010-nexyon/source/gameengine/Ketsji/KX_PythonInit.cpp
===================================================================
--- branches/soc-2010-nexyon/source/gameengine/Ketsji/KX_PythonInit.cpp 2010-07-14 08:55:08 UTC (rev 30303)
+++ branches/soc-2010-nexyon/source/gameengine/Ketsji/KX_PythonInit.cpp 2010-07-14 09:01:31 UTC (rev 30304)
@@ -379,15 +379,6 @@
return resultlist;
}
-
-static PyObject* gPyStopDSP(PyObject*, PyObject* args)
-{
- PyErr_SetString(PyExc_RuntimeError, "no audio device available");
- return NULL;
-
- Py_RETURN_NONE;
-}
-
static PyObject* gPySetLogicTicRate(PyObject*, PyObject* args)
{
float ticrate;
@@ -756,7 +747,6 @@
{"getRandomFloat",(PyCFunction) gPyGetRandomFloat, METH_NOARGS, (const char *)gPyGetRandomFloat_doc},
{"setGravity",(PyCFunction) gPySetGravity, METH_O, (const char *)"set Gravitation"},
{"getSpectrum",(PyCFunction) gPyGetSpectrum, METH_NOARGS, (const char *)"get audio spectrum"},
- {"stopDSP",(PyCFunction) gPyStopDSP, METH_VARARGS, (const char *)"stop using the audio dsp (for performance reasons)"},
{"getMaxLogicFrame", (PyCFunction) gPyGetMaxLogicFrame, METH_NOARGS, (const char *)"Gets the max number of logic frame per render frame"},
{"setMaxLogicFrame", (PyCFunction) gPySetMaxLogicFrame, METH_VARARGS, (const char *)"Sets the max number of logic frame per render frame"},
{"getMaxPhysicsFrame", (PyCFunction) gPyGetMaxPhysicsFrame, METH_NOARGS, (const char *)"Gets the max number of physics frame per render frame"},
@@ -939,7 +929,6 @@
Py_RETURN_NONE;
}
-
static PyObject* gPySetMistStart(PyObject*, PyObject* args)
{
More information about the Bf-blender-cvs
mailing list