/[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 1255 by stargo, Sun Sep 17 11:04:50 2006 UTC revision 1256 by stargo, Sun Sep 17 11:42:22 2006 UTC
# Line 272  sun_play(void) Line 272  sun_play(void)
272          }          }
273  }  }
274    
 static struct audio_driver sun_driver = {  
       wave_out_write:rdpsnd_queue_write,  
       wave_out_open:sun_open,  
       wave_out_close:sun_close,  
       wave_out_format_supported:sun_format_supported,  
       wave_out_set_format:sun_set_format,  
       wave_out_volume:sun_volume,  
       wave_out_play:sun_play,  
       name:"sun",  
       description:"SUN/BSD output driver, default device: " DEFAULTDEVICE " or $AUDIODEV",  
       next:NULL,  
 };  
   
275  struct audio_driver *  struct audio_driver *
276  sun_register(char *options)  sun_register(char *options)
277  {  {
278            static struct audio_driver sun_driver;
279    
280            sun_driver.wave_out_write = rdpsnd_queue_write;
281            sun_driver.wave_out_open = sun_open;
282            sun_driver.wave_out_close = sun_close;
283            sun_driver.wave_out_format_supported = sun_format_supported;
284            sun_driver.wave_out_set_format = sun_set_format;
285            sun_driver.wave_out_volume = sun_volume;
286            sun_driver.wave_out_play = sun_play;
287            sun_driver.name = xstrdup("sun");
288            sun_driver.description =
289                    xstrdup("SUN/BSD output driver, default device: " DEFAULTDEVICE " or $AUDIODEV");
290            sun_driver.next = NULL;
291    
292          if (options)          if (options)
293          {          {
294                  dsp_dev = xstrdup(options);                  dsp_dev = xstrdup(options);

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

  ViewVC Help
Powered by ViewVC 1.1.26