diff options
author | Hans de Goede <hdegoede@redhat.com> | 2013-10-09 21:38:32 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2013-12-09 09:19:26 +0100 |
commit | 40a814b0b1789b94c483190b3208729b5182e5bd (patch) | |
tree | 03b4037dd70d461d43e50d31b672ebfdd1260ccd /audio | |
parent | a1d22a367d5780c9553b2cd5a24f665534ce6ed6 (diff) | |
download | qemu-40a814b0b1789b94c483190b3208729b5182e5bd.zip qemu-40a814b0b1789b94c483190b3208729b5182e5bd.tar.gz qemu-40a814b0b1789b94c483190b3208729b5182e5bd.tar.bz2 |
audio: Lower default wakeup rate to 100 times / second
This is more then plenty to keep audio card fifos filles / emptied.
This drops host cpu-load for audio playback inside a linux vm from
13% to 9%.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'audio')
-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 b3db679..fc77511 100644 --- a/audio/audio.c +++ b/audio/audio.c @@ -95,7 +95,7 @@ static struct { } }, - .period = { .hertz = 250 }, + .period = { .hertz = 100 }, .plive = 0, .log_to_monitor = 0, .try_poll_in = 1, |