From 713a98f8f10c32299176c8d3d742ce667f7bff0d Mon Sep 17 00:00:00 2001 From: malc Date: Sat, 12 Sep 2009 02:28:45 +0400 Subject: audio: poll mode infrastructure Signed-off-by: malc --- audio/audio_int.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'audio/audio_int.h') 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 -- cgit v1.2.1