|
a/src/rcvqueue.h |
|
b/src/rcvqueue.h |
|
... |
|
... |
17 |
#ifndef _RCVQUEUE_H_INCLUDED_
|
17 |
#ifndef _RCVQUEUE_H_INCLUDED_
|
18 |
#define _RCVQUEUE_H_INCLUDED_
|
18 |
#define _RCVQUEUE_H_INCLUDED_
|
19 |
|
19 |
|
20 |
#include "workqueue.h"
|
20 |
#include "workqueue.h"
|
21 |
|
21 |
|
|
|
22 |
/*
|
22 |
/** The audio messages which get passed between the songcast receiver
|
23 |
* The audio messages which get passed between the songcast receiver
|
23 |
* and the http server part. We could probably use
|
24 |
* and the http server part. We could probably use ohSongcast own audio
|
24 |
* ohSongcast own audio messages, but I prefer to stop the custom type
|
25 |
* messages, but I prefer to stop the custom type usage asap.
|
25 |
* nonsense asap.
|
|
|
26 |
*/
|
26 |
*/
|
27 |
class AudioMessage {
|
27 |
class AudioMessage {
|
28 |
public:
|
28 |
public:
|
29 |
// If buf is not 0, it is a malloced buffer, and we take
|
29 |
// If buf is not 0, it is a malloced buffer, and we take
|
30 |
// ownership. The caller MUST NOT free it. Its size must be at
|
30 |
// ownership. The caller MUST NOT free it. Its size must be at
|