diff options
Diffstat (limited to 'audio/audio.c')
-rw-r--r-- | audio/audio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio.c b/audio/audio.c index c067afb283..f247f42141 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -1822,7 +1822,7 @@ static void audio_init (void) } conf.period.ticks = 1; } else { - conf.period.ticks = ticks_per_sec / conf.period.hertz; + conf.period.ticks = get_ticks_per_sec() / conf.period.hertz; } e = qemu_add_vm_change_state_handler (audio_vm_change_state_handler, s); |