summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-04 13:16:48 +0200
committerDiego 'Flameeyes' Pettenò <flameeyes@gmail.com>2007-06-04 13:16:48 +0200
commit22dd2d33da401a9d876725fbe36e86552aa16fb7 (patch)
treeee899c1c1a99bd4cbd893814202aa6494be2ec95
parentb002c484a3d9a3288dc812252d17f9bb2d0e6b77 (diff)
downloadxine-lib-22dd2d33da401a9d876725fbe36e86552aa16fb7.tar.gz
xine-lib-22dd2d33da401a9d876725fbe36e86552aa16fb7.tar.bz2
Remove redundant nested #ifdef __svr4__.
-rw-r--r--src/audio_out/audio_sun_out.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/audio_out/audio_sun_out.c b/src/audio_out/audio_sun_out.c
index 5923eb658..486c06342 100644
--- a/src/audio_out/audio_sun_out.c
+++ b/src/audio_out/audio_sun_out.c
@@ -248,13 +248,11 @@ static int realtime_samplecounter_available(xine_t *xine, char *dev)
error:
if (silence != NULL) free(silence);
if (fd >= 0) {
-#ifdef __svr4__
/*
* remove the 0 bytes from the above measurement from the
* audio driver's STREAMS queue
*/
ioctl(fd, I_FLUSH, FLUSHW);
-#endif
close(fd);
}