/[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 1042 by astrand, Wed Aug 24 11:31:58 2005 UTC revision 1043 by stargo, Tue Feb 7 16:21:31 2006 UTC
# 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;
# Line 240  wave_out_play(void) Line 240  wave_out_play(void)
240                  out->p += len;                  out->p += len;
241          }          }
242    
243          ao_play(o_device, (char *) outbuf, len);          ao_play(o_device, outbuf, len);
244    
245          gettimeofday(&tv, NULL);          gettimeofday(&tv, NULL);
246    

Legend:
Removed from v.1042  
changed lines
  Added in v.1043

  ViewVC Help
Powered by ViewVC 1.1.26