/[rdesktop]/sourceforge.net/trunk/rdesktop/rdpsnd_oss.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_oss.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 252  oss_play(void) Line 252  oss_play(void)
252          return;          return;
253  }  }
254    
 static struct audio_driver oss_driver = {  
       wave_out_write:rdpsnd_queue_write,  
       wave_out_open:oss_open,  
       wave_out_close:oss_close,  
       wave_out_format_supported:oss_format_supported,  
       wave_out_set_format:oss_set_format,  
       wave_out_volume:oss_volume,  
       wave_out_play:oss_play,  
       name:"oss",  
       description:"OSS output driver, default device: " DEFAULTDEVICE " or $AUDIODEV",  
       next:NULL,  
 };  
   
255  struct audio_driver *  struct audio_driver *
256  oss_register(char *options)  oss_register(char *options)
257  {  {
258            static struct audio_driver oss_driver;
259    
260            oss_driver.wave_out_write = rdpsnd_queue_write;
261            oss_driver.wave_out_open = oss_open;
262            oss_driver.wave_out_close = oss_close;
263            oss_driver.wave_out_format_supported = oss_format_supported;
264            oss_driver.wave_out_set_format = oss_set_format;
265            oss_driver.wave_out_volume = oss_volume;
266            oss_driver.wave_out_play = oss_play;
267            oss_driver.name = xstrdup("oss");
268            oss_driver.description =
269                    xstrdup("OSS output driver, default device: " DEFAULTDEVICE " or $AUDIODEV");
270            oss_driver.next = NULL;
271    
272          if (options)          if (options)
273          {          {
274                  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