From f7e755eb55a46094c772c2eae85590a8df6fb213 Mon Sep 17 00:00:00 2001 From: voroshil Date: Thu, 25 Oct 2007 14:57:17 +0000 Subject: Add missing call to audio_in_start_capture. Fixes capturing sound from ALSA devices (repeated xrun errors, buffer underruns and son on). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24848 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/stream_radio.c | 1 + 1 file changed, 1 insertion(+) (limited to 'stream/stream_radio.c') diff --git a/stream/stream_radio.c b/stream/stream_radio.c index 5f7097ef17..c848aa7d4e 100644 --- a/stream/stream_radio.c +++ b/stream/stream_radio.c @@ -883,6 +883,7 @@ static int init_audio(radio_priv_t *priv) priv->audio_cnt = 0; priv->audio_drop = 0; + audio_in_start_capture(&priv->audio_in); priv->audio_inited = 1; -- cgit v1.2.3