aboutsummaryrefslogtreecommitdiff
path: root/plugins/dfsound/out.h
diff options
context:
space:
mode:
authornotaz2012-07-30 21:29:29 +0300
committernotaz2012-07-31 01:31:34 +0300
commit07c13dfd11cbd45e96a5c21cd88ccd44601678ea (patch)
tree8d9713246288c00ff5edb6e6301d710ed36bfa10 /plugins/dfsound/out.h
parentf05d6ca255c80170e4e5fc61cc48d87e013b8807 (diff)
downloadpcsx_rearmed-07c13dfd11cbd45e96a5c21cd88ccd44601678ea.tar.gz
pcsx_rearmed-07c13dfd11cbd45e96a5c21cd88ccd44601678ea.tar.bz2
pcsx_rearmed-07c13dfd11cbd45e96a5c21cd88ccd44601678ea.zip
allow multiple sound drivers to be compiled
Diffstat (limited to 'plugins/dfsound/out.h')
-rw-r--r--plugins/dfsound/out.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/dfsound/out.h b/plugins/dfsound/out.h
new file mode 100644
index 0000000..4607099
--- /dev/null
+++ b/plugins/dfsound/out.h
@@ -0,0 +1,12 @@
+
+struct out_driver {
+ const char *name;
+ int (*init)(void);
+ void (*finish)(void);
+ int (*busy)(void);
+ void (*feed)(void *data, int bytes);
+};
+
+extern struct out_driver *out_current;
+
+void SetupSound(void);