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

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

revision 752 by stargo, Fri Aug 13 09:43:31 2004 UTC revision 753 by stargo, Mon Aug 23 11:13:50 2004 UTC
# Line 238  wave_out_play(void) Line 238  wave_out_play(void)
238                          duration = (out->size * (1000000 / (g_samplewidth * g_snd_rate)));                          duration = (out->size * (1000000 / (g_samplewidth * g_snd_rate)));
239                          elapsed = (tv.tv_sec - startedat_s) * 1000000 + (tv.tv_usec - startedat_us);                          elapsed = (tv.tv_sec - startedat_s) * 1000000 + (tv.tv_usec - startedat_us);
240    
241                          if (elapsed >= (duration * 7) / 10)                          if (elapsed >= (duration * 85) / 100)
242                          {                          {
243                                  rdpsnd_send_completion(packet->tick, packet->index);                                  rdpsnd_send_completion(packet->tick, packet->index);
244                                  free(out->data);                                  free(out->data);

Legend:
Removed from v.752  
changed lines
  Added in v.753

  ViewVC Help
Powered by ViewVC 1.1.26