mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
def691696e
commit
f7e755eb55
|
@ -883,6 +883,7 @@ static int init_audio(radio_priv_t *priv)
|
||||||
priv->audio_cnt = 0;
|
priv->audio_cnt = 0;
|
||||||
priv->audio_drop = 0;
|
priv->audio_drop = 0;
|
||||||
|
|
||||||
|
audio_in_start_capture(&priv->audio_in);
|
||||||
|
|
||||||
priv->audio_inited = 1;
|
priv->audio_inited = 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue