/[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 1304 by ossman_, Fri Oct 27 12:29:05 2006 UTC revision 1345 by ossman_, Thu Dec 7 11:54:29 2006 UTC
# Line 273  sgi_play(void) Line 273  sgi_play(void)
273          }          }
274  }  }
275    
276    static struct audio_driver sgi_driver = {
277            .name = "sgi",
278            .description = "SGI output driver",
279    
280            .wave_out_open = sgi_open,
281            .wave_out_close = sgi_close,
282            .wave_out_format_supported = sgi_format_supported,
283            .wave_out_set_format = sgi_set_format,
284            .wave_out_volume = sgi_volume,
285            .wave_out_play = sgi_play,
286    
287            .need_byteswap_on_be = 1,
288            .need_resampling = 0,
289    };
290    
291  struct audio_driver *  struct audio_driver *
292  sgi_register(char *options)  sgi_register(char *options)
293  {  {
         static struct audio_driver sgi_driver;  
   
         sgi_driver.wave_out_open = sgi_open;  
         sgi_driver.wave_out_close = sgi_close;  
         sgi_driver.wave_out_format_supported = sgi_format_supported;  
         sgi_driver.wave_out_set_format = sgi_set_format;  
         sgi_driver.wave_out_volume = sgi_volume;  
         sgi_driver.wave_out_play = sgi_play;  
         sgi_driver.name = xstrdup("sgi");  
         sgi_driver.description = xstrdup("SGI output driver");  
         sgi_driver.need_byteswap_on_be = 1;  
         sgi_driver.need_resampling = 0;  
         sgi_driver.next = NULL;  
   
294          if (options)          if (options)
295          {          {
296                  sgi_output_device = xstrdup(options);                  sgi_output_device = xstrdup(options);

Legend:
Removed from v.1304  
changed lines
  Added in v.1345

  ViewVC Help
Powered by ViewVC 1.1.26