summaryrefslogtreecommitdiffstats
path: root/driver.h
diff options
context:
space:
mode:
Diffstat (limited to 'driver.h')
-rw-r--r--driver.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/driver.h b/driver.h
new file mode 100644
index 0000000..dc2e8c5
--- /dev/null
+++ b/driver.h
@@ -0,0 +1,16 @@
+#ifndef foocanberradriverhfoo
+#define foocanberradriverhfoo
+
+#include "canberra.h"
+
+int driver_open(ca_context *c);
+int driver_destroy(ca_context *c);
+
+int driver_set(ca_context *c, const char *key, const void* data, size_t nbytes);
+int driver_unset(ca_context *c, const char *key);
+
+int driver_play(ca_context *c, uint32_t id, ca_notify_cb_t cb, void *userdata, va_list ap);
+int driver_cancel(ca_context *c, uint32_t id);
+int driver_cache(ca_context *c, va_list ap);
+
+#endif