From 44c20e41ddd0c394daf5aa45d88baa95334f04fc Mon Sep 17 00:00:00 2001 From: Takamichi Horikawa Date: Wed, 12 Jul 2017 00:34:35 +0900 Subject: test soundout --- gtk/soundout/soundout.c | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gtk/soundout/soundout.c (limited to 'gtk/soundout/soundout.c') 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; +} -- cgit v1.2.3