aboutsummaryrefslogtreecommitdiff
path: root/gtk/soundout/soundout.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/soundout/soundout.c')
-rw-r--r--gtk/soundout/soundout.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk/soundout/soundout.c b/gtk/soundout/soundout.c
new file mode 100644
index 0000000..56134be
--- /dev/null
+++ b/gtk/soundout/soundout.c
@@ -0,0 +1,14 @@
+#include "soundout.h"
+#include "jackout.h"
+#include "pulseout.h"
+#include "alsaout.h"
+
+struct sound_state *sound_init(const char *clientname, unsigned srate, sound_callback cbfunc, void *userptr) {
+ struct sound_state *ss = 0;
+ //ss = jackout_init(clientname, srate, cbfunc, userptr);
+ if (ss) return ss;
+ //ss = pulseout_init(clientname, srate, cbfunc, userptr);
+ if (ss) return ss;
+ ss = alsaout_init(clientname, srate, cbfunc, userptr);
+ return ss;
+}