Revision fb065187 audio/wavaudio.c
b/audio/wavaudio.c | ||
---|---|---|
23 | 23 |
*/ |
24 | 24 |
#include "vl.h" |
25 | 25 |
|
26 |
#define AUDIO_CAP "wav" |
|
27 |
#include "audio/audio.h" |
|
28 |
#include "audio/wavaudio.h" |
|
26 |
#include "audio/audio_int.h" |
|
27 |
|
|
28 |
typedef struct WAVVoice { |
|
29 |
HWVoice hw; |
|
30 |
QEMUFile *f; |
|
31 |
int64_t old_ticks; |
|
32 |
void *pcm_buf; |
|
33 |
int total_samples; |
|
34 |
} WAVVoice; |
|
35 |
|
|
36 |
#define dolog(...) AUD_log ("wav", __VA_ARGS__) |
|
37 |
#ifdef DEBUG |
|
38 |
#define ldebug(...) dolog (__VA_ARGS__) |
|
39 |
#else |
|
40 |
#define ldebug(...) |
|
41 |
#endif |
|
29 | 42 |
|
30 | 43 |
static struct { |
31 | 44 |
const char *wav_path; |
Also available in: Unified diff