diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-07-12 00:34:35 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-07-12 00:34:35 +0900 |
commit | 44c20e41ddd0c394daf5aa45d88baa95334f04fc (patch) | |
tree | 9d503654c49585ee580c4033e086e1a2275b933e /gtk/soundout/soundout.c | |
parent | f0c957012f65775976be05d2497a6a30c222b7e6 (diff) |
test soundout
Diffstat (limited to 'gtk/soundout/soundout.c')
-rw-r--r-- | gtk/soundout/soundout.c | 14 |
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; +} |