Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.bin/audio/play pull up rev 1.13 from trunk (request...
details: https://anonhg.NetBSD.org/src/rev/4184f3cacc13
branches: netbsd-1-4
changeset: 469510:4184f3cacc13
user: cgd <cgd%NetBSD.org@localhost>
date: Mon Sep 27 05:08:00 1999 +0000
description:
pull up rev 1.13 from trunk (requested by mrg):
Honor the "-f" flag even if we appear to recognize a broken Sun audio
file, and fix an error message on little-endian hosts.
diffstat:
usr.bin/audio/play/play.c | 8 +++++---
1 files changed, 5 insertions(+), 3 deletions(-)
diffs (22 lines):
diff -r bbfc8afc4031 -r 4184f3cacc13 usr.bin/audio/play/play.c
--- a/usr.bin/audio/play/play.c Mon Sep 27 05:05:30 1999 +0000
+++ b/usr.bin/audio/play/play.c Mon Sep 27 05:08:00 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: play.c,v 1.7.2.2 1999/07/01 15:14:27 perry Exp $ */
+/* $NetBSD: play.c,v 1.7.2.3 1999/09/27 05:08:00 cgd Exp $ */
/*
* Copyright (c) 1999 Matthew R. Green
@@ -289,8 +289,10 @@
if (ntohl(sunhdr->magic) == AUDIO_FILE_MAGIC) {
if (audio_get_sun_encoding(ntohl(sunhdr->encoding),
&info.play.encoding, &info.play.precision)) {
- warnx("unknown supported Sun audio encoding format %d",
- sunhdr->encoding);
+ warnx("unknown unsupported Sun audio encoding format %d",
+ ntohl(sunhdr->encoding));
+ if (fflag)
+ goto set_audio_mode;
return (-1);
}
Home |
Main Index |
Thread Index |
Old Index