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

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

revision 1258 by stargo, Sun Sep 17 14:41:16 2006 UTC revision 1263 by stargo, Sun Sep 17 18:08:51 2006 UTC
# Line 226  rdpsnd_process(STREAM s) Line 226  rdpsnd_process(STREAM s)
226                          current_format = format;                          current_format = format;
227                  }                  }
228    
229                  current_driver->wave_out_write(s, tick, packet_index);                  current_driver->
230                            wave_out_write(rdpsnd_dsp_process
231                                           (s, current_driver, &formats[current_format]), tick,
232                                           packet_index);
233                  awaiting_data_packet = False;                  awaiting_data_packet = False;
234                  return;                  return;
235          }          }
# Line 394  rdpsnd_queue_write(STREAM s, uint16 tick Line 397  rdpsnd_queue_write(STREAM s, uint16 tick
397          queue_hi = next_hi;          queue_hi = next_hi;
398    
399          packet->s = *s;          packet->s = *s;
         packet->s.data =  
                 rdpsnd_dsp_process(s->data, s->size, current_driver, &formats[current_format]);  
         packet->s.p = packet->s.data + 4;  
         packet->s.end = packet->s.data + s->size;  
400          packet->tick = tick;          packet->tick = tick;
401          packet->index = index;          packet->index = index;
402    
 #if 0                           /* Handled by DSP */  
         /* we steal the data buffer from s, give it a new one */  
         s->data = xmalloc(s->size);  
 #endif  
   
403          if (!g_dsp_busy)          if (!g_dsp_busy)
404                  current_driver->wave_out_play();                  current_driver->wave_out_play();
405  }  }

Legend:
Removed from v.1258  
changed lines
  Added in v.1263

  ViewVC Help
Powered by ViewVC 1.1.26