[BACK]Return to rip.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / cdio

Diff for /src/usr.bin/cdio/rip.c between version 1.11 and 1.12

version 1.11, 2008/12/28 15:48:32 version 1.12, 2009/04/10 18:19:41
Line 451 
Line 451 
 int  int
 play_next_track(struct track_info *info)  play_next_track(struct track_info *info)
 {  {
         char *dev;  
   
         if (!info->isaudio)          if (!info->isaudio)
                 return (NXTRACK_SKIP);                  return (NXTRACK_SKIP);
   
         if (info->hdl != NULL)          if (info->hdl != NULL)
                 return (NXTRACK_OK);                  return (NXTRACK_OK);
   
         dev = getenv("AUDIODEVICE");          info->hdl = sio_open(NULL, SIO_PLAY, 0);
   
         info->hdl = sio_open(dev, SIO_PLAY, 0);  
         if (info->hdl == NULL) {          if (info->hdl == NULL) {
                 warnx("could not open audio backend");                  warnx("could not open audio backend");
                 goto bad;                  goto bad;

Legend:
Removed from v.1.11  
changed lines
  Added in v.1.12