/[rdesktop]/sourceforge.net/trunk/rdesktop/rdpsnd_sun.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /sourceforge.net/trunk/rdesktop/rdpsnd_sun.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 514 by matthewc, Tue Oct 28 02:33:52 2003 UTC revision 559 by stargo, Thu Dec 11 12:25:38 2003 UTC
# Line 26  Line 26 
26  #include <errno.h>  #include <errno.h>
27  #include <sys/ioctl.h>  #include <sys/ioctl.h>
28  #include <sys/audioio.h>  #include <sys/audioio.h>
 #include <stropts.h>  
29    
30  #define MAX_QUEUE       10  #define MAX_QUEUE       10
31    
# Line 80  wave_out_close(void) Line 79  wave_out_close(void)
79                  queue_lo = (queue_lo + 1) % MAX_QUEUE;                  queue_lo = (queue_lo + 1) % MAX_QUEUE;
80          }          }
81    
82    #if defined I_FLUSH && defined FLUSHW
83          /* Flush the audiobuffer */          /* Flush the audiobuffer */
84          ioctl(g_dsp_fd, I_FLUSH, FLUSHW);          ioctl(g_dsp_fd, I_FLUSH, FLUSHW);
85    #endif
86          close(g_dsp_fd);          close(g_dsp_fd);
87  }  }
88    

Legend:
Removed from v.514  
changed lines
  Added in v.559

  ViewVC Help
Powered by ViewVC 1.1.26