=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/cdio/rip.c,v retrieving revision 1.11 retrieving revision 1.12 diff -c -r1.11 -r1.12 *** src/usr.bin/cdio/rip.c 2008/12/28 15:48:32 1.11 --- src/usr.bin/cdio/rip.c 2009/04/10 18:19:41 1.12 *************** *** 1,4 **** ! /* $OpenBSD: rip.c,v 1.11 2008/12/28 15:48:32 ratchov Exp $ */ /* * Copyright (c) 2007 Alexey Vatchenko --- 1,4 ---- ! /* $OpenBSD: rip.c,v 1.12 2009/04/10 18:19:41 ratchov Exp $ */ /* * Copyright (c) 2007 Alexey Vatchenko *************** *** 451,467 **** int play_next_track(struct track_info *info) { - char *dev; - if (!info->isaudio) return (NXTRACK_SKIP); if (info->hdl != NULL) return (NXTRACK_OK); ! dev = getenv("AUDIODEVICE"); ! ! info->hdl = sio_open(dev, SIO_PLAY, 0); if (info->hdl == NULL) { warnx("could not open audio backend"); goto bad; --- 451,463 ---- int play_next_track(struct track_info *info) { if (!info->isaudio) return (NXTRACK_SKIP); if (info->hdl != NULL) return (NXTRACK_OK); ! info->hdl = sio_open(NULL, SIO_PLAY, 0); if (info->hdl == NULL) { warnx("could not open audio backend"); goto bad;