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:
voroshil 2007-10-25 14:57:17 +00:00
parent def691696e
commit f7e755eb55
1 changed files with 1 additions and 0 deletions

View File

@ -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;