Subject: misc/26192: nonexistent option in the usage of audioplay(1)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 07/08/2004 13:39:43
>Number:         26192
>Category:       misc
>Synopsis:       nonexistent option in the usage of audioplay(1)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 08 04:40:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0G
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0G NetBSD 2.0G (FIREFLY.MP) #19: Wed Jul 7 22:20:57 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	-m does not exist in audioplay(1).

% audioplay -m
audioplay: unknown option -- m
Usage: audioplay [-hiqV] [options] files
Options:
        -C audio control device
        -b balance (0-63)
        -d audio device
        -f force settings
                -c forced channels
                -e forced encoding
                -P forced precision
                -s forced sample rate
        -i header information
        -m monitor volume
        -p output port
        -v volume

>How-To-Repeat:
	audioplay -m

>Fix:
Index: audio/play/play.c
===================================================================
RCS file: /cvs/cvsroot/src/usr.bin/audio/play/play.c,v
retrieving revision 1.42
diff -u -r1.42 play.c
--- audio/play/play.c	23 Jun 2003 12:15:03 -0000	1.42
+++ audio/play/play.c	7 Jul 2004 18:08:16 -0000
@@ -473,7 +473,6 @@
 	    "\t-P forced precision\n\t"
 	    "\t-s forced sample rate\n\t"
 	    "-i header information\n\t"
-	    "-m monitor volume\n\t"
 	    "-p output port\n\t"
 	    "-v volume\n");
 	exit(EXIT_FAILURE);

>Release-Note:
>Audit-Trail:
>Unformatted: