/[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 1255 by stargo, Sun Sep 17 11:04:50 2006 UTC revision 1256 by stargo, Sun Sep 17 11:42:22 2006 UTC
# Line 234  libao_play(void) Line 234  libao_play(void)
234          return;          return;
235  }  }
236    
 static struct audio_driver libao_driver = {  
       wave_out_write:rdpsnd_queue_write,  
       wave_out_open:libao_open,  
       wave_out_close:libao_close,  
       wave_out_format_supported:libao_format_supported,  
       wave_out_set_format:libao_set_format,  
       wave_out_volume:libao_volume,  
       wave_out_play:libao_play,  
       name:"libao",  
       description:"libao output driver",  
       next:NULL,  
 };  
   
237  struct audio_driver *  struct audio_driver *
238  libao_register(char *options)  libao_register(char *options)
239  {  {
240            static struct audio_driver libao_driver;
241    
242            libao_driver.wave_out_write = rdpsnd_queue_write;
243            libao_driver.wave_out_open = libao_open;
244            libao_driver.wave_out_close = libao_close;
245            libao_driver.wave_out_format_supported = libao_format_supported;
246            libao_driver.wave_out_set_format = libao_set_format;
247            libao_driver.wave_out_volume = libao_volume;
248            libao_driver.wave_out_play = libao_play;
249            libao_driver.name = xstrdup("libao");
250            libao_driver.description = xstrdup("libao output driver");
251            libao_driver.next = NULL;
252    
253          if (options)          if (options)
254          {          {
255                  libao_device = xstrdup(options);                  libao_device = xstrdup(options);

Legend:
Removed from v.1255  
changed lines
  Added in v.1256

  ViewVC Help
Powered by ViewVC 1.1.26