mirror of https://github.com/mpv-player/mpv
Fix r23353, it broke ao_sun on non-BSD due to accidentially removing
a return ao_data.outburst; git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23613 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
74047be59a
commit
f0ca74bd86
|
@ -655,6 +655,7 @@ static int get_space(void){
|
||||||
#if !defined (__OpenBSD__) && !defined(__NetBSD__)
|
#if !defined (__OpenBSD__) && !defined(__NetBSD__)
|
||||||
if (queued_bursts - info.play.eof > 2)
|
if (queued_bursts - info.play.eof > 2)
|
||||||
return 0;
|
return 0;
|
||||||
|
return ao_data.outburst;
|
||||||
#else
|
#else
|
||||||
return info.hiwat * info.blocksize - info.play.seek;
|
return info.hiwat * info.blocksize - info.play.seek;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue