diff --git a/libao2/ao_sun.c b/libao2/ao_sun.c index a9fab2846a..c1ef3a43a8 100644 --- a/libao2/ao_sun.c +++ b/libao2/ao_sun.c @@ -655,6 +655,7 @@ static int get_space(void){ #if !defined (__OpenBSD__) && !defined(__NetBSD__) if (queued_bursts - info.play.eof > 2) return 0; + return ao_data.outburst; #else return info.hiwat * info.blocksize - info.play.seek; #endif