blob: 56134becdd8deb4eb22d869dfa7b1ee10aee6b49 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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;
}
|