Be more portable to platforms where I_FLUSH && FLUSHW are not defined

git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@537 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
Michael Gernoth 2003-10-31 09:38:25 +00:00
parent 36c26ab26b
commit cd80e92281

View File

@ -80,8 +80,10 @@ wave_out_close(void)
queue_lo = (queue_lo + 1) % MAX_QUEUE;
}
#if defined I_FLUSH && defined FLUSHW
/* Flush the audiobuffer */
ioctl(g_dsp_fd, I_FLUSH, FLUSHW);
#endif
close(g_dsp_fd);
}