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/ai_sndio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'stream/ai_sndio.c') diff --git a/stream/ai_sndio.c b/stream/ai_sndio.c index 08ddac1e03..3cd68e5ee1 100644 --- a/stream/ai_sndio.c +++ b/stream/ai_sndio.c @@ -21,7 +21,7 @@ int ai_sndio_setup(audio_in_t *ai) par.appbufsz = ai->req_samplerate; /* 1 sec */ if (!sio_setpar(ai->sndio.hdl, &par) || !sio_getpar(ai->sndio.hdl, &par)) { - mp_msg(MSGT_TV, MSGL_ERR, "could not configure sndio audio"); + MP_ERR(ai, "could not configure sndio audio"); return -1; } @@ -39,7 +39,7 @@ int ai_sndio_init(audio_in_t *ai) int err; if ((ai->sndio.hdl = sio_open(ai->sndio.device, SIO_REC, 0)) == NULL) { - mp_msg(MSGT_TV, MSGL_ERR, "could not open sndio audio"); + MP_ERR(ai, "could not open sndio audio"); return -1; } -- cgit v1.2.3