[MPlayer-cvslog] r23353 - trunk/libao2/ao_sun.c
reimar
subversion at mplayerhq.hu
Sun May 20 14:15:16 CEST 2007
Author: reimar
Date: Sun May 20 14:15:16 2007
New Revision: 23353
Log:
Clean up some unused code and #ifdef mess in ao_sun.c
Modified:
trunk/libao2/ao_sun.c
Modified: trunk/libao2/ao_sun.c
==============================================================================
--- trunk/libao2/ao_sun.c (original)
+++ trunk/libao2/ao_sun.c Sun May 20 14:15:16 2007
@@ -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
}
More information about the MPlayer-cvslog
mailing list