/[rdesktop]/jpeg/rdesktop/trunk/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 /jpeg/rdesktop/trunk/rdpsnd_sgi.c

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

revision 1350 by ossman_, Thu Dec 7 15:23:45 2006 UTC revision 1351 by stargo, Sun Dec 24 13:53:23 2006 UTC
# Line 287  sgi_play(void) Line 287  sgi_play(void)
287          }          }
288  }  }
289    
 static struct audio_driver sgi_driver = {  
         .name = "sgi",  
         .description = "SGI output driver",  
   
         .add_fds = sgi_add_fds,  
         .check_fds = sgi_check_fds,  
   
         .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,  
   
         .need_byteswap_on_be = 1,  
         .need_resampling = 0,  
 };  
   
290  struct audio_driver *  struct audio_driver *
291  sgi_register(char *options)  sgi_register(char *options)
292  {  {
293            static struct audio_driver sgi_driver;
294    
295            sgi_driver.name = xstrdup("sgi");
296            sgi_driver.description = xstrdup("SGI output driver");
297    
298            sgi_driver.add_fds = sgi_add_fds;
299            sgi_driver.check_fds = sgi_check_fds;
300    
301            sgi_driver.wave_out_open = sgi_open;
302            sgi_driver.wave_out_close = sgi_close;
303            sgi_driver.wave_out_format_supported = sgi_format_supported;
304            sgi_driver.wave_out_set_format = sgi_set_format;
305            sgi_driver.wave_out_volume = sgi_volume;
306    
307            sgi_driver.need_byteswap_on_be = 1;
308            sgi_driver.need_resampling = 0;
309    
310          if (options)          if (options)
311          {          {
312                  sgi_output_device = xstrdup(options);                  sgi_output_device = xstrdup(options);

Legend:
Removed from v.1350  
changed lines
  Added in v.1351

  ViewVC Help
Powered by ViewVC 1.1.26