qemu-e2k/audio
Hans de Goede b4350deed6 audio: honor QEMU_AUDIO_TIMER_PERIOD instead of waking up every *nano* second
Now that we no longer have MIN_REARM_TIMER_NS a bug in the audio subsys has
clearly shown it self by trying to make a timer fire every nano second.

Note we have a similar problem in 1.6, 1.5 and older but there
MIN_REARM_TIMER_NS limits the wakeups caused by audio being active to
4000 times / second. This still causes a host cpu load of 50 % for simply
playing audio, where as with this patch git master is at 13%, so we should
backport this to 1.5 and 1.6 too.

Note this will not apply to 1.5 and 1.6 as is.

Cc: qemu-stable@nongnu.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
2013-10-23 10:37:27 +02:00
..
alsaaudio.c misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
audio_int.h audio: Replace static functions in header file by macros, remove GCC_ATTR 2013-06-21 22:52:50 +04:00
audio_pt_int.c Revert "audio/audio_pt_int: Clarify licensing" 2012-11-30 09:04:08 -06:00
audio_pt_int.h pthreads-based audio and miscellaneous audio clean-up (malc). 2008-01-14 04:24:29 +00:00
audio_template.h audio: Fix warning from static code analysis 2012-09-23 01:34:16 +04:00
audio_win_int.c remove some double-includes 2013-05-18 16:35:12 +04:00
audio_win_int.h Windows Waveform Audio driver (no ADC support yet) 2009-10-10 01:18:24 +04:00
audio.c audio: honor QEMU_AUDIO_TIMER_PERIOD instead of waking up every *nano* second 2013-10-23 10:37:27 +02:00
audio.h misc: move include files to include/qemu/ 2012-12-19 08:32:39 +01:00
coreaudio.c coreaudio: Fix OSStatus format specifier 2011-06-23 18:56:58 +04:00
dsound_template.h Fix NAME2/FIELD2 warnings 2009-01-22 22:09:55 +00:00
dsoundaudio.c audio: split sample conversion and volume mixing 2011-01-12 18:36:22 +03:00
esdaudio.c audio: Add some fall through comments 2012-02-25 18:16:11 +04:00
fmodaudio.c fmodaudio: Remove unused variable 'bits16' (reported by cppcheck) 2011-11-18 21:55:29 +04:00
Makefile.objs build: move rules from Makefile to */Makefile.objs 2012-12-19 08:29:06 +01:00
mixeng_template.h audio: split IN_T into two separate constants 2012-05-18 15:19:28 +04:00
mixeng.c audio: remove CONFIG_MIXEMU configure option 2013-09-24 10:29:34 +02:00
mixeng.h audio: split sample conversion and volume mixing 2011-01-12 18:36:22 +03:00
noaudio.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
ossaudio.c Remove OSS support for OpenBSD 2013-05-26 11:14:52 +00:00
paaudio.c fix build with pulseaudio versions older than 0.9.11 2012-05-04 00:47:09 +04:00
rate_template.h Make audio violate POSIX less 2008-12-03 22:48:44 +00:00
sdlaudio.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01:00
spiceaudio.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
wavaudio.c aio / timers: Switch entire codebase to the new timer API 2013-08-22 19:14:24 +02:00
wavcapture.c monitor: move include files to include/monitor/ 2012-12-19 08:31:32 +01:00
winwaveaudio.c softmmu: move include files to include/sysemu/ 2012-12-19 08:32:45 +01:00