qemu-patch-raspberry4/audio
Luiz Capitulino 1dfb4dd993 Replace the VMSTOP macros with a proper state type
Today, when notifying a VM state change with vm_state_notify(),
we pass a VMSTOP macro as the 'reason' argument. This is not ideal
because the VMSTOP macros tell why qemu stopped and not exactly
what the current VM state is.

One example to demonstrate this problem is that vm_start() calls
vm_state_notify() with reason=0, which turns out to be VMSTOP_USER.

This commit fixes that by replacing the VMSTOP macros with a proper
state type called RunState.

Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
2011-09-15 16:39:32 -03:00
..
alsaaudio.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
audio.c Replace the VMSTOP macros with a proper state type 2011-09-15 16:39:32 -03:00
audio.h Use GCC_FMT_ATTR (format checking) 2010-10-03 06:34:51 +00:00
audio_int.h audio: split sample conversion and volume mixing 2011-01-12 18:36:22 +03:00
audio_pt_int.c Fix compilation warning due to missing header for sigaction (followup) 2011-06-08 09:04:29 +01: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 Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
audio_win_int.c Windows Waveform Audio driver (no ADC support yet) 2009-10-10 01:18:24 +04:00
audio_win_int.h Windows Waveform Audio driver (no ADC support yet) 2009-10-10 01:18:24 +04: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 Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
fmodaudio.c audio: split sample conversion and volume mixing 2011-01-12 18:36:22 +03:00
mixeng.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
mixeng.h audio: split sample conversion and volume mixing 2011-01-12 18:36:22 +03:00
mixeng_template.h audio: fix integer overflow expression 2011-06-01 00:14:07 +04:00
noaudio.c change all other clock references to use nanosecond resolution accessors 2011-03-21 09:23:23 +01:00
ossaudio.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
paaudio.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05: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 change all other clock references to use nanosecond resolution accessors 2011-03-21 09:23:23 +01:00
wavaudio.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
wavcapture.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00
winwaveaudio.c Use glib memory allocation and free functions 2011-08-20 23:01:08 -05:00