Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/audiocfg audiocfg(1): add examples
details: https://anonhg.NetBSD.org/src/rev/e01685d68aaa
branches: trunk
changeset: 961052:e01685d68aaa
user: nia <nia%NetBSD.org@localhost>
date: Wed Apr 07 09:58:58 2021 +0000
description:
audiocfg(1): add examples
diffstat:
usr.bin/audiocfg/audiocfg.1 | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diffs (31 lines):
diff -r 55bfb33e83b8 -r e01685d68aaa usr.bin/audiocfg/audiocfg.1
--- a/usr.bin/audiocfg/audiocfg.1 Wed Apr 07 09:57:02 2021 +0000
+++ b/usr.bin/audiocfg/audiocfg.1 Wed Apr 07 09:58:58 2021 +0000
@@ -1,4 +1,4 @@
-.\" $NetBSD: audiocfg.1,v 1.7 2020/10/19 21:46:15 dholland Exp $
+.\" $NetBSD: audiocfg.1,v 1.8 2021/04/07 09:58:58 nia Exp $
.\"
.\" Copyright (c) 2010 The NetBSD Foundation, Inc.
.\" All rights reserved.
@@ -27,7 +27,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd October 19, 2020
+.Dd April 7, 2021
.Dt AUDIOCFG 1
.Os
.Sh NAME
@@ -120,6 +120,12 @@
.It Pa /dev/sound[0-9]*
Available audio devices.
.El
+.Sh EXAMPLES
+Configure audio device 0 for playing BluRay 5.1 surround sound:
+.Dl $ audiocfg set 0 p slinear_le 16 6 48000
+.Pp
+Configure audio device 0 for playing CD quality audio:
+.Dl $ audiocfg set 0 p slinear_le 16 2 44100
.Sh SEE ALSO
.Xr audioplay 1 ,
.Xr audiorecord 1 ,
Home |
Main Index |
Thread Index |
Old Index