From: ratchov Date: Sat, 16 May 2015 12:51:24 +0000 (+0000) Subject: Display simply "play" when play mode is set (furthermore, "playsync", X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=664f8617092e8992cef60728df5dc322179e70f1;p=openbsd Display simply "play" when play mode is set (furthermore, "playsync", aka PLAY_ALL mode is not used anymore) --- diff --git a/usr.bin/audioctl/audioctl.c b/usr.bin/audioctl/audioctl.c index 2455bfa00c6..7ade4031cfe 100644 --- a/usr.bin/audioctl/audioctl.c +++ b/usr.bin/audioctl/audioctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: audioctl.c,v 1.26 2015/05/16 12:48:50 ratchov Exp $ */ +/* $OpenBSD: audioctl.c,v 1.27 2015/05/16 12:51:24 ratchov Exp $ */ /* $NetBSD: audioctl.c,v 1.14 1998/04/27 16:55:23 augustss Exp $ */ /* @@ -178,10 +178,7 @@ prval(u_int format, void *valp) v = *(u_int *)valp; cm = ""; if (v & AUMODE_PLAY) { - if (v & AUMODE_PLAY_ALL) - fprintf(out, "play"); - else - fprintf(out, "playsync"); + fprintf(out, "play"); cm = ","; } if (v & AUMODE_RECORD)