From 664f8617092e8992cef60728df5dc322179e70f1 Mon Sep 17 00:00:00 2001 From: ratchov Date: Sat, 16 May 2015 12:51:24 +0000 Subject: [PATCH] Display simply "play" when play mode is set (furthermore, "playsync", aka PLAY_ALL mode is not used anymore) --- usr.bin/audioctl/audioctl.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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) -- 2.20.1