blob: c49e9ef5f5cb5ef8c3599c68437666fd2efe8a0b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
#ifndef __DAEMON_H__
#define __DAEMON_H__
#include <decoder.h>
#include <utils.h>
#include <fakiir.h>
class Daemon {
public:
Daemon();
~Daemon();
bool init(vector<Decoder*> *devices);
void launch();
void quit();
/// fakiir external api
int get_num_decoders();
int play(int dec, char *path);
int stop();
float get_position(int dec);
int set_position(float pos);
///
private:
vector<Decoder*> *decoders;
};
#endif
|