summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2013-10-09 21:38:32 +0200
committerGerd Hoffmann <kraxel@redhat.com>2013-12-09 09:19:26 +0100
commit40a814b0b1789b94c483190b3208729b5182e5bd (patch)
tree03b4037dd70d461d43e50d31b672ebfdd1260ccd
parenta1d22a367d5780c9553b2cd5a24f665534ce6ed6 (diff)
downloadfocaccia-qemu-40a814b0b1789b94c483190b3208729b5182e5bd.tar.gz
focaccia-qemu-40a814b0b1789b94c483190b3208729b5182e5bd.zip
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>
-rw-r--r--audio/audio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/audio/audio.c b/audio/audio.c
index b3db67979d..fc775110af 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,