aboutsummaryrefslogtreecommitdiff
path: root/audio/audio_int.h
diff options
context:
space:
mode:
authormalc <av1474@comtv.ru>2009-09-12 02:28:45 +0400
committermalc <av1474@comtv.ru>2009-09-12 02:50:58 +0400
commit713a98f8f10c32299176c8d3d742ce667f7bff0d (patch)
tree860e374fedb11047fc0193d4abd8f9f112ea9dcc /audio/audio_int.h
parent435c247a9fffe77940229220696abe82714da13e (diff)
audio: poll mode infrastructure
Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'audio/audio_int.h')
-rw-r--r--audio/audio_int.h4
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