aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authoraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-22 17:15:29 +0000
committeraliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>2009-01-22 17:15:29 +0000
commit9781e0401ad7d2d30e48fd532372d4ef80be58b6 (patch)
tree4660f374d3cd785ce476d45d9407fcd094e72c59 /audio
parent5c047c0d3f7d732620ece04d5f8574d19ea1626d (diff)
downloadqemu-9781e0401ad7d2d30e48fd532372d4ef80be58b6.zip
qemu-9781e0401ad7d2d30e48fd532372d4ef80be58b6.tar.gz
qemu-9781e0401ad7d2d30e48fd532372d4ef80be58b6.tar.bz2
Rework vm_state_change notifiers (Jan Kiszka)
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6402 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio')
-rw-r--r--audio/audio.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/audio.c b/audio/audio.c
index 762c2e3..e2635c0 100644
--- a/audio/audio.c
+++ b/audio/audio.c
@@ -1622,7 +1622,8 @@ static int audio_driver_init (AudioState *s, struct audio_driver *drv)
}
}
-static void audio_vm_change_state_handler (void *opaque, int running)
+static void audio_vm_change_state_handler (void *opaque, int running,
+ int reason)
{
AudioState *s = opaque;
HWVoiceOut *hwo = NULL;