/[rdesktop]/jpeg/rdesktop/trunk/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 /jpeg/rdesktop/trunk/rdpsnd_oss.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 316  oss_play(void) Line 316  oss_play(void)
316          }          }
317  }  }
318    
319  static struct audio_driver oss_driver = {  struct audio_driver *
320          .name = "oss",  oss_register(char *options)
321          .description = "OSS output driver, default device: " DEFAULTDEVICE " or $AUDIODEV",  {
322            oss_driver.name = xstrdup("oss");
323            oss_driver.description =
324                    xstrdup("OSS output driver, default device: " DEFAULTDEVICE " or $AUDIODEV");
325    
326          .add_fds = oss_add_fds,          oss_driver.add_fds = oss_add_fds;
327          .check_fds = oss_check_fds,          oss_driver.check_fds = oss_check_fds;
328    
329          .wave_out_open = oss_open,          oss_driver.wave_out_open = oss_open;
330          .wave_out_close = oss_close,          oss_driver.wave_out_close = oss_close;
331          .wave_out_format_supported = oss_format_supported,          oss_driver.wave_out_format_supported = oss_format_supported;
332          .wave_out_set_format = oss_set_format,          oss_driver.wave_out_set_format = oss_set_format;
333          .wave_out_volume = oss_volume,          oss_driver.wave_out_volume = oss_volume;
334    
335          .need_byteswap_on_be = 0,          oss_driver.need_byteswap_on_be = 0;
336          .need_resampling = 0,          oss_driver.need_resampling = 0;
 };  
337    
 struct audio_driver *  
 oss_register(char *options)  
 {  
338          if (options)          if (options)
339          {          {
340                  dsp_dev = xstrdup(options);                  dsp_dev = xstrdup(options);

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

  ViewVC Help
Powered by ViewVC 1.1.26