From bec5d6e03388a07d9d58a8564f665782231ef8ec Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Mon, 14 May 2007 10:46:28 +0000 Subject: * 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 --- oss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'oss.c') 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); -- cgit