mirror of
https://github.com/mpv-player/mpv
synced 2025-01-03 05:22:23 +00:00
10l forgotten comment
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15452 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
f595bf38ce
commit
86830611e1
@ -1728,7 +1728,7 @@ static double grab_audio_frame(priv_t *priv, char *buffer, int len)
|
||||
// this is mencoder => just wait until some audio is available
|
||||
usleep(10000);
|
||||
}
|
||||
// pthread_mutex_lock(&priv->audio_mutex);
|
||||
pthread_mutex_lock(&priv->audio_mutex);
|
||||
memcpy(buffer, priv->audio_ringbuffer+priv->audio_head*priv->audio_in.blocksize, len);
|
||||
priv->audio_head = (priv->audio_head+1) % priv->audio_buffer_size;
|
||||
priv->audio_cnt--;
|
||||
|
Loading…
Reference in New Issue
Block a user