Revision 74475455 audio/wavaudio.c
b/audio/wavaudio.c | ||
---|---|---|
52 | 52 |
int rpos, decr, samples; |
53 | 53 |
uint8_t *dst; |
54 | 54 |
struct st_sample *src; |
55 |
int64_t now = qemu_get_clock (vm_clock); |
|
55 |
int64_t now = qemu_get_clock_ns (vm_clock);
|
|
56 | 56 |
int64_t ticks = now - wav->old_ticks; |
57 | 57 |
int64_t bytes = |
58 | 58 |
muldiv64 (ticks, hw->info.bytes_per_second, get_ticks_per_sec ()); |
Also available in: Unified diff