Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
f6b67f28
Commit
f6b67f28
authored
Dec 30, 2002
by
Greg Ward
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename more mixer methods: getrecsrc() -> get_recsrc(),
setrecsrc() -> set_recsrc().
parent
0e73c887
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
Modules/ossaudiodev.c
Modules/ossaudiodev.c
+6
-6
No files found.
Modules/ossaudiodev.c
View file @
f6b67f28
...
...
@@ -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
},
{
"get
recsrc"
,
(
PyCFunction
)
oss_mixer_get
recsrc
,
METH_VARARGS
},
{
"set
recsrc"
,
(
PyCFunction
)
oss_mixer_set
recsrc
,
METH_VARARGS
},
{
"get
_recsrc"
,
(
PyCFunction
)
oss_mixer_get_
recsrc
,
METH_VARARGS
},
{
"set
_recsrc"
,
(
PyCFunction
)
oss_mixer_set_
recsrc
,
METH_VARARGS
},
{
NULL
,
NULL
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment