/[rdesktop]/sourceforge.net/trunk/rdesktop/rdpsnd_libao.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_libao.c

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

revision 963 by astrand, Wed Aug 3 10:56:16 2005 UTC revision 1045 by stargo, Wed Feb 8 13:35:35 2006 UTC
# Line 28  Line 28 
28  #include <sys/time.h>  #include <sys/time.h>
29    
30  #define MAX_QUEUE       10  #define MAX_QUEUE       10
31  #define WAVEOUTBUF      64  #define WAVEOUTBUF      16
32    
33  int g_dsp_fd;  int g_dsp_fd;
34  ao_device *o_device = NULL;  ao_device *o_device = NULL;
# Line 175  wave_out_play(void) Line 175  wave_out_play(void)
175  {  {
176          struct audio_packet *packet;          struct audio_packet *packet;
177          STREAM out;          STREAM out;
178          unsigned char outbuf[WAVEOUTBUF];          char outbuf[WAVEOUTBUF];
179          int offset, len, i;          int offset, len, i;
180          static long prev_s, prev_us;          static long prev_s, prev_us;
181          unsigned int duration;          unsigned int duration;

Legend:
Removed from v.963  
changed lines
  Added in v.1045

  ViewVC Help
Powered by ViewVC 1.1.26