/[rdesktop]/sourceforge.net/trunk/rdesktop/rdpsnd_sun.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_sun.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 242  sun_play(void) Line 242  sun_play(void)
242          }          }
243  }  }
244    
245    static struct audio_driver sun_driver = {
246            .name = "sun",
247            .description = "SUN/BSD output driver, default device: " DEFAULTDEVICE " or $AUDIODEV",
248    
249            .wave_out_open = sun_open,
250            .wave_out_close = sun_close,
251            .wave_out_format_supported = sun_format_supported,
252            .wave_out_set_format = sun_set_format,
253            .wave_out_volume = sun_volume,
254            .wave_out_play = sun_play,
255    
256            .need_byteswap_on_be = 1,
257            .need_resampling = 0,
258    };
259    
260  struct audio_driver *  struct audio_driver *
261  sun_register(char *options)  sun_register(char *options)
262  {  {
         static struct audio_driver sun_driver;  
   
         sun_driver.wave_out_open = sun_open;  
         sun_driver.wave_out_close = sun_close;  
         sun_driver.wave_out_format_supported = sun_format_supported;  
         sun_driver.wave_out_set_format = sun_set_format;  
         sun_driver.wave_out_volume = sun_volume;  
         sun_driver.wave_out_play = sun_play;  
         sun_driver.name = xstrdup("sun");  
         sun_driver.description =  
                 xstrdup("SUN/BSD output driver, default device: " DEFAULTDEVICE " or $AUDIODEV");  
         sun_driver.need_byteswap_on_be = 1;  
         sun_driver.need_resampling = 0;  
         sun_driver.next = NULL;  
   
263          if (options)          if (options)
264          {          {
265                  dsp_dev = xstrdup(options);                  dsp_dev = xstrdup(options);

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

  ViewVC Help
Powered by ViewVC 1.1.26