diff options
author | malc <av1474@comtv.ru> | 2009-09-12 02:28:45 +0400 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-09-12 02:50:58 +0400 |
commit | 713a98f8f10c32299176c8d3d742ce667f7bff0d (patch) | |
tree | 860e374fedb11047fc0193d4abd8f9f112ea9dcc /audio/audio_int.h | |
parent | 435c247a9fffe77940229220696abe82714da13e (diff) | |
download | qemu-713a98f8f10c32299176c8d3d742ce667f7bff0d.tar.gz qemu-713a98f8f10c32299176c8d3d742ce667f7bff0d.tar.bz2 qemu-713a98f8f10c32299176c8d3d742ce667f7bff0d.zip |
audio: poll mode infrastructure
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'audio/audio_int.h')
-rw-r--r-- | audio/audio_int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/audio_int.h b/audio/audio_int.h index f3cd0be0af..d930d0790e 100644 --- a/audio/audio_int.h +++ b/audio/audio_int.h @@ -68,6 +68,7 @@ typedef struct SWVoiceCap SWVoiceCap; typedef struct HWVoiceOut { int enabled; + int poll_mode; int pending_disable; struct audio_pcm_info info; @@ -87,6 +88,7 @@ typedef struct HWVoiceOut { typedef struct HWVoiceIn { int enabled; + int poll_mode; struct audio_pcm_info info; t_sample *conv; @@ -222,6 +224,8 @@ int audio_pcm_hw_get_live_out2 (HWVoiceOut *hw, int *nb_live); int audio_bug (const char *funcname, int cond); void *audio_calloc (const char *funcname, int nmemb, size_t size); +void audio_run (const char *msg); + #define VOICE_ENABLE 1 #define VOICE_DISABLE 2 |