|
a/src/rcvqueue.h |
|
b/src/rcvqueue.h |
|
... |
|
... |
60 |
enum BOrder {BO_MSB, BO_LSB, BO_HOST};
|
60 |
enum BOrder {BO_MSB, BO_LSB, BO_HOST};
|
61 |
struct Context {
|
61 |
struct Context {
|
62 |
Context(WorkQueue<AudioMessage*> *q, int p = 0) : port(p), queue(q) {}
|
62 |
Context(WorkQueue<AudioMessage*> *q, int p = 0) : port(p), queue(q) {}
|
63 |
int port;
|
63 |
int port;
|
64 |
WorkQueue<AudioMessage*> *queue;
|
64 |
WorkQueue<AudioMessage*> *queue;
|
|
|
65 |
std::string alsadevice;
|
65 |
};
|
66 |
};
|
66 |
|
67 |
|
67 |
// Constructor called by downstream module to set its params
|
68 |
// Constructor called by downstream module to set its params
|
68 |
AudioEater(BOrder o, void *(*w)(void *))
|
69 |
AudioEater(BOrder o, void *(*w)(void *))
|
69 |
: input_border(o), worker(w) {
|
70 |
: input_border(o), worker(w) {
|