aboutsummaryrefslogtreecommitdiff
path: root/audio/audio_int.h
diff options
context:
space:
mode:
authormalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-18 20:44:04 +0000
committermalc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>2009-02-18 20:44:04 +0000
commit978dd63540b380768a03be400e703f6e67f47e8f (patch)
treef690d07b96c1eb884b7bf27bc605ad8df28ddd87 /audio/audio_int.h
parentc6ba7bbc4830b9dba2be4ddd6a5d1b2857dbd5ef (diff)
Avoid running audio ctl's when vm is not running
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6627 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/audio_int.h')
-rw-r--r--audio/audio_int.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/audio_int.h b/audio/audio_int.h
index c1da710d06..fc87458f82 100644
--- a/audio/audio_int.h
+++ b/audio/audio_int.h
@@ -192,6 +192,7 @@ struct AudioState {
LIST_HEAD (cap_listhead, CaptureVoiceOut) cap_head;
int nb_hw_voices_out;
int nb_hw_voices_in;
+ int vm_running;
};
extern struct audio_driver no_audio_driver;