mirror of
https://github.com/mpv-player/mpv
synced 2024-12-15 03:15:52 +00:00
audio buffering fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@783 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a7f0494c96
commit
55b995d40c
@ -1469,10 +1469,10 @@ if(has_audio){
|
||||
printf("Audio buffer size: %d bytes, delay: %5.3fs\n",audio_buffer_size,audio_buffer_delay);
|
||||
|
||||
// fixup audio buffer size:
|
||||
if(outburst<MAX_OUTBURST){
|
||||
sh_audio->a_buffer_size=sh_audio->audio_out_minsize+outburst;
|
||||
printf("Audio out buffer size reduced to %d bytes\n",sh_audio->a_buffer_size);
|
||||
}
|
||||
// if(outburst<MAX_OUTBURST){
|
||||
// sh_audio->a_buffer_size=sh_audio->audio_out_minsize+outburst;
|
||||
// printf("Audio out buffer size reduced to %d bytes\n",sh_audio->a_buffer_size);
|
||||
// }
|
||||
|
||||
// a_frame=-(audio_buffer_delay);
|
||||
a_frame=0;
|
||||
|
Loading…
Reference in New Issue
Block a user