diff options
author | Greg Ward <gward@python.net> | 2002-12-30 23:19:32 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2002-12-30 23:19:32 (GMT) |
commit | f05aa10eae0e4bf139280d357ce94c7f9af0a066 (patch) | |
tree | 8fa88c159929e3cfc6abca6397e02506a52d13f3 /Modules/ossaudiodev.c | |
parent | 5681acbf94deeac2beaefbc576c77f51b2b8f59e (diff) | |
download | cpython-f05aa10eae0e4bf139280d357ce94c7f9af0a066.zip cpython-f05aa10eae0e4bf139280d357ce94c7f9af0a066.tar.gz cpython-f05aa10eae0e4bf139280d357ce94c7f9af0a066.tar.bz2 |
Rename more mixer methods: getrecsrc() -> get_recsrc(),
setrecsrc() -> set_recsrc().
Diffstat (limited to 'Modules/ossaudiodev.c')
-rw-r--r-- | Modules/ossaudiodev.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Modules/ossaudiodev.c b/Modules/ossaudiodev.c index 40caa37..21c2917 100644 --- a/Modules/ossaudiodev.c +++ b/Modules/ossaudiodev.c @@ -740,16 +740,16 @@ oss_mixer_set(oss_mixer_t *self, PyObject *args) } static PyObject * -oss_mixer_getrecsrc(oss_mixer_t *self, PyObject *args) +oss_mixer_get_recsrc(oss_mixer_t *self, PyObject *args) { - return _do_ioctl_1_internal(self->fd, args, "getrecsrc", + return _do_ioctl_1_internal(self->fd, args, "get_recsrc", SOUND_MIXER_READ_RECSRC); } static PyObject * -oss_mixer_setrecsrc(oss_mixer_t *self, PyObject *args) +oss_mixer_set_recsrc(oss_mixer_t *self, PyObject *args) { - return _do_ioctl_1(self->fd, args, "setrecsrc", + return _do_ioctl_1(self->fd, args, "set_recsrc", SOUND_MIXER_WRITE_RECSRC); } @@ -796,8 +796,8 @@ static PyMethodDef oss_mixer_methods[] = { { "recdevices", (PyCFunction)oss_mixer_recdevices, METH_VARARGS}, { "get", (PyCFunction)oss_mixer_get, METH_VARARGS }, { "set", (PyCFunction)oss_mixer_set, METH_VARARGS }, - { "getrecsrc", (PyCFunction)oss_mixer_getrecsrc, METH_VARARGS }, - { "setrecsrc", (PyCFunction)oss_mixer_setrecsrc, METH_VARARGS }, + { "get_recsrc", (PyCFunction)oss_mixer_get_recsrc, METH_VARARGS }, + { "set_recsrc", (PyCFunction)oss_mixer_set_recsrc, METH_VARARGS }, { NULL, NULL} }; |