summaryrefslogtreecommitdiffstats
path: root/oss.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2007-05-14 10:46:28 +0000
committerLennart Poettering <lennart@poettering.net>2007-05-14 10:46:28 +0000
commitbec5d6e03388a07d9d58a8564f665782231ef8ec (patch)
tree76c707c7c9be4df1fd2cd893dfc5d7ea605c8b12 /oss.c
parent2b2a7d40f375c4143d01c40528ee75a025e9fe12 (diff)
* change signature of volume setters to include the size of the array
* s/output/write/g, s/input/read/g * make "client_name" mandatory again git-svn-id: file:///home/lennart/svn/public/libsydney/trunk@13 9ba3c220-e4d3-45a2-8aa3-73fcc9aff6ce
Diffstat (limited to 'oss.c')
-rw-r--r--oss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/oss.c b/oss.c
index fc1d540..8c46884 100644
--- a/oss.c
+++ b/oss.c
@@ -376,7 +376,7 @@ int driver_start_thread(sa_stream_t *s, sa_event_callback_t *callback) {
return SA_ERROR_NOT_SUPPORTED;
}
-int driver_change_input_volume(sa_stream_t *s, const int32_t vol[]) {
+int driver_change_read_volume(sa_stream_t *s, const int32_t vol[]) {
oss_stream_t *oss = OSS_STREAM(s);
sa_return_val_if_fail(!s->codec, SA_ERROR_NOT_SUPPORTED);
@@ -386,7 +386,7 @@ int driver_change_input_volume(sa_stream_t *s, const int32_t vol[]) {
return SA_SUCCESS;
}
-int driver_change_output_volume(sa_stream_t *s, const int32_t vol[]) {
+int driver_change_write_volume(sa_stream_t *s, const int32_t vol[]) {
oss_stream_t *oss = OSS_STREAM(s);
sa_return_val_if_fail(!s->codec, SA_ERROR_NOT_SUPPORTED);