aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--libao2/ao_sun.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libao2/ao_sun.c b/libao2/ao_sun.c
index 44c2bef7b1..e95cbc990e 100644
--- a/libao2/ao_sun.c
+++ b/libao2/ao_sun.c
@@ -655,13 +655,9 @@ static int get_space(void){
ioctl(audio_fd, AUDIO_GETINFO, &info);
if (queued_bursts - info.play.eof > 2)
return 0;
-#endif
-
-#if defined(__NetBSD__) || defined(__OpenBSD__)
+#else
ioctl(audio_fd, AUDIO_GETINFO, &info);
return info.hiwat * info.blocksize - info.play.seek;
-#else
- return ao_data.outburst;
#endif
}