175 |
{ |
{ |
176 |
struct audio_packet *packet; |
struct audio_packet *packet; |
177 |
STREAM out; |
STREAM out; |
178 |
unsigned char outbuf[WAVEOUTBUF]; |
char outbuf[WAVEOUTBUF]; |
179 |
int offset, len, i; |
int offset, len, i; |
180 |
static long prev_s, prev_us; |
static long prev_s, prev_us; |
181 |
unsigned int duration; |
unsigned int duration; |
240 |
out->p += len; |
out->p += len; |
241 |
} |
} |
242 |
|
|
243 |
ao_play(o_device, (char *) outbuf, len); |
ao_play(o_device, outbuf, len); |
244 |
|
|
245 |
gettimeofday(&tv, NULL); |
gettimeofday(&tv, NULL); |
246 |
|
|