# HG changeset patch # User reimar # Date 1179663316 0 # Node ID 69696caa0b1bfdbbfcf121f60bb4e911f0ca2c59 # Parent f665e123e6f959ce5f1d784e60d5c01997c9eb49 Clean up some unused code and #ifdef mess in ao_sun.c diff -r f665e123e6f9 -r 69696caa0b1b libao2/ao_sun.c --- 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 }