From 3dbc9007b080028f0aebbbf8b9ab1233cd70c45b Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 20:24:20 +0100 Subject: demux: mp_msg conversions The TV code pretends to be part of stream/, but it's actually demuxer code too. The audio_in code is shared between the TV code and stream_radio.c, so stream_radio.c needs a small hack until stream.c is converted. --- stream/audio_in.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'stream/audio_in.h') diff --git a/stream/audio_in.h b/stream/audio_in.h index af2cecd28d..0afd926335 100644 --- a/stream/audio_in.h +++ b/stream/audio_in.h @@ -25,6 +25,8 @@ #include "config.h" +struct mp_log; + #if HAVE_ALSA #include @@ -58,6 +60,7 @@ typedef struct { typedef struct { + struct mp_log *log; int type; int setup; @@ -83,7 +86,7 @@ typedef struct #endif } audio_in_t; -int audio_in_init(audio_in_t *ai, int type); +int audio_in_init(audio_in_t *ai, struct mp_log *log, int type); int audio_in_setup(audio_in_t *ai); int audio_in_set_device(audio_in_t *ai, char *device); int audio_in_set_samplerate(audio_in_t *ai, int rate); -- cgit v1.2.3