summaryrefslogtreecommitdiffstats
path: root/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver.h')
-rw-r--r--driver.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/driver.h b/driver.h
index 5c98070..f58db66 100644
--- a/driver.h
+++ b/driver.h
@@ -5,7 +5,9 @@
int driver_open(sa_stream_t *dev);
int driver_destroy(sa_stream_t *dev);
-int driver_start_thread(sa_stream_t *dev, sa_event_callback_t *callback);
+
+int driver_start_thread(sa_stream_t *dev, sa_event_callback_t callback);
+int driver_stop_thread(sa_stream_t *dev);
int driver_change_device(sa_stream_t *dev, const char *device_name);
int driver_change_read_volume(sa_stream_t *dev, const int32_t vol[]);