|
a/src/rcvqueue.h |
|
b/src/rcvqueue.h |
|
... |
|
... |
57 |
// object with appropriate values.
|
57 |
// object with appropriate values.
|
58 |
class AudioEater {
|
58 |
class AudioEater {
|
59 |
public:
|
59 |
public:
|
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) : queue(q) {}
|
|
|
63 |
WorkQueue<AudioMessage*> *queue;
|
63 |
int port;
|
64 |
int port;
|
64 |
WorkQueue<AudioMessage*> *queue;
|
|
|
65 |
std::string alsadevice;
|
65 |
std::string alsadevice;
|
66 |
};
|
66 |
};
|
67 |
|
67 |
|
68 |
// Constructor called by downstream module to set its params
|
68 |
// Constructor called by downstream module to set its params
|
69 |
AudioEater(BOrder o, void *(*w)(void *))
|
69 |
AudioEater(BOrder o, void *(*w)(void *))
|