Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.bin/audio/play Fix broken "-f" and "-P" options. Patches...
details: https://anonhg.NetBSD.org/src/rev/d8aaa7c0dece
branches: trunk
changeset: 476320:d8aaa7c0dece
user: tron <tron%NetBSD.org@localhost>
date: Mon Sep 13 17:18:21 1999 +0000
description:
Fix broken "-f" and "-P" options. Patches supplied by Ben Wong in
PR bin/8390.
diffstat:
usr.bin/audio/play/play.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r 7b521afcbc44 -r d8aaa7c0dece usr.bin/audio/play/play.c
--- a/usr.bin/audio/play/play.c Mon Sep 13 17:15:42 1999 +0000
+++ b/usr.bin/audio/play/play.c Mon Sep 13 17:18:21 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: play.c,v 1.11 1999/07/13 14:02:34 kleink Exp $ */
+/* $NetBSD: play.c,v 1.12 1999/09/13 17:18:21 tron Exp $ */
/*
* Copyright (c) 1999 Matthew R. Green
@@ -380,14 +380,14 @@
if (encoding)
info.play.encoding = encoding;
if (precision)
- info.play.encoding = precision;
+ info.play.precision = precision;
}
info.mode = AUMODE_PLAY_ALL;
if (ioctl(fd, AUDIO_SETINFO, &info) < 0)
err(1, "failed to set audio info");
- return (hdr_len);
+ return (0);
}
void
Home |
Main Index |
Thread Index |
Old Index