diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-20 12:15:16 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-05-20 12:15:16 +0000 |
commit | 2764ff21dbfa5eb5c1f2f53dfdacb5d73a982110 (patch) | |
tree | 8315010fbb73bbb2ca9243304e4b3228f4a75b77 | |
parent | 31a82e6b0e1f3536aa3c6bd362b15281021c0f89 (diff) |
Clean up some unused code and #ifdef mess in ao_sun.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23353 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | libao2/ao_sun.c | 6 |
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 } |