/[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 1351 by stargo, Sun Dec 24 13:53:23 2006 UTC revision 1356 by ossman_, Tue Jan 2 11:39:56 2007 UTC
# Line 319  oss_play(void) Line 319  oss_play(void)
319  struct audio_driver *  struct audio_driver *
320  oss_register(char *options)  oss_register(char *options)
321  {  {
322          oss_driver.name = xstrdup("oss");          memset(&oss_driver, 0, sizeof(oss_driver));
323    
324            oss_driver.name = "oss";
325          oss_driver.description =          oss_driver.description =
326                  xstrdup("OSS output driver, default device: " DEFAULTDEVICE " or $AUDIODEV");                  "OSS output driver, default device: " DEFAULTDEVICE " or $AUDIODEV";
327    
328          oss_driver.add_fds = oss_add_fds;          oss_driver.add_fds = oss_add_fds;
329          oss_driver.check_fds = oss_check_fds;          oss_driver.check_fds = oss_check_fds;
# Line 345  oss_register(char *options) Line 347  oss_register(char *options)
347    
348                  if (dsp_dev == NULL)                  if (dsp_dev == NULL)
349                  {                  {
350                          dsp_dev = xstrdup(DEFAULTDEVICE);                          dsp_dev = DEFAULTDEVICE;
351                  }                  }
352          }          }
353    

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

  ViewVC Help
Powered by ViewVC 1.1.26