@@ -315,35 +315,6 @@ staticforward PyTypeObject SndChannel_Type = {
315315/* ------------------- End object type SndChannel ------------------- */
316316
317317
318- static PyObject * Snd_SetSoundVol (_self , _args )
319- PyObject * _self ;
320- PyObject * _args ;
321- {
322- PyObject * _res = NULL ;
323- short level ;
324- if (!PyArg_ParseTuple (_args , "h" ,
325- & level ))
326- return NULL ;
327- SetSoundVol (level );
328- Py_INCREF (Py_None );
329- _res = Py_None ;
330- return _res ;
331- }
332-
333- static PyObject * Snd_GetSoundVol (_self , _args )
334- PyObject * _self ;
335- PyObject * _args ;
336- {
337- PyObject * _res = NULL ;
338- short level ;
339- if (!PyArg_ParseTuple (_args , "" ))
340- return NULL ;
341- GetSoundVol (& level );
342- _res = Py_BuildValue ("h" ,
343- level );
344- return _res ;
345- }
346-
347318static PyObject * Snd_SndNewChannel (_self , _args )
348319 PyObject * _self ;
349320 PyObject * _args ;
@@ -742,10 +713,6 @@ static PyObject *Snd_GetSoundHeaderOffset(_self, _args)
742713}
743714
744715static PyMethodDef Snd_methods [] = {
745- {"SetSoundVol" , (PyCFunction )Snd_SetSoundVol , 1 ,
746- "(short level) -> None" },
747- {"GetSoundVol" , (PyCFunction )Snd_GetSoundVol , 1 ,
748- "() -> (short level)" },
749716 {"SndNewChannel" , (PyCFunction )Snd_SndNewChannel , 1 ,
750717 "(short synth, long init, PyObject* userRoutine) -> (SndChannelPtr chan)" },
751718 {"SndControl" , (PyCFunction )Snd_SndControl , 1 ,
0 commit comments