diff options
author | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-10-25 14:57:17 +0000 |
---|---|---|
committer | voroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-10-25 14:57:17 +0000 |
commit | f7e755eb55a46094c772c2eae85590a8df6fb213 (patch) | |
tree | c1abb51cafb39206428feec5ae55f66593366cfb /stream/stream_radio.c | |
parent | def691696ed861ca308b2c3fe2764d0eb270c7d5 (diff) | |
download | mpv-f7e755eb55a46094c772c2eae85590a8df6fb213.tar.bz2 mpv-f7e755eb55a46094c772c2eae85590a8df6fb213.tar.xz |
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
Diffstat (limited to 'stream/stream_radio.c')
-rw-r--r-- | stream/stream_radio.c | 1 |
1 files changed, 1 insertions, 0 deletions
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; |