summaryrefslogtreecommitdiffstats
path: root/driver.h
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 /driver.h
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 'driver.h')
-rw-r--r--driver.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/driver.h b/driver.h
index 7aaa5e6..5c98070 100644
--- a/driver.h
+++ b/driver.h
@@ -8,8 +8,8 @@ int driver_destroy(sa_stream_t *dev);
int driver_start_thread(sa_stream_t *dev, sa_event_callback_t *callback);
int driver_change_device(sa_stream_t *dev, const char *device_name);
-int driver_change_input_volume(sa_stream_t *dev, const int32_t vol[]);
-int driver_change_output_volume(sa_stream_t *dev, const int32_t vol[]);
+int driver_change_read_volume(sa_stream_t *dev, const int32_t vol[]);
+int driver_change_write_volume(sa_stream_t *dev, const int32_t vol[]);
int driver_change_rate(sa_stream_t *dev, unsigned rate);
int driver_change_meta_data(sa_stream_t *dev, const char *name, const void *data, size_t size);