/[rdesktop]/sourceforge.net/trunk/rdesktop/rdpsnd_sgi.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_sgi.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 308  sgi_play(void) Line 308  sgi_play(void)
308          }          }
309  }  }
310    
 static struct audio_driver sgi_driver = {  
       wave_out_write:rdpsnd_queue_write,  
       wave_out_open:sgi_open,  
       wave_out_close:sgi_close,  
       wave_out_format_supported:sgi_format_supported,  
       wave_out_set_format:sgi_set_format,  
       wave_out_volume:sgi_volume,  
       wave_out_play:sgi_play,  
       name:"sgi",  
       description:"SGI output driver",  
       next:NULL,  
 };  
   
311  struct audio_driver *  struct audio_driver *
312  sgi_register(char *options)  sgi_register(char *options)
313  {  {
314            static struct audio_driver sgi_driver;
315    
316            sgi_driver.wave_out_write = rdpsnd_queue_write;
317            sgi_driver.wave_out_open = sgi_open;
318            sgi_driver.wave_out_close = sgi_close;
319            sgi_driver.wave_out_format_supported = sgi_format_supported;
320            sgi_driver.wave_out_set_format = sgi_set_format;
321            sgi_driver.wave_out_volume = sgi_volume;
322            sgi_driver.wave_out_play = sgi_play;
323            sgi_driver.name = xstrdup("sgi");
324            sgi_driver.description = xstrdup("SGI output driver");
325            sgi_driver.next = NULL;
326    
327          if (options)          if (options)
328          {          {
329                  sgi_output_device = xstrdup(options);                  sgi_output_device = xstrdup(options);

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

  ViewVC Help
Powered by ViewVC 1.1.26