changeset 23335:69696caa0b1b

Clean up some unused code and #ifdef mess in ao_sun.c
author reimar
date Sun, 20 May 2007 12:15:16 +0000
parents f665e123e6f9
children 5cec8dd2fe24
files libao2/ao_sun.c
diffstat 1 files changed, 1 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/libao2/ao_sun.c	Sun May 20 12:05:16 2007 +0000
+++ b/libao2/ao_sun.c	Sun May 20 12:15:16 2007 +0000
@@ -655,13 +655,9 @@
     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
 
 }