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 pullup 1.8
details: https://anonhg.NetBSD.org/src/rev/cd7bc31a3a44
branches: netbsd-1-4
changeset: 468199:cd7bc31a3a44
user: mrg <mrg%NetBSD.org@localhost>
date: Tue Apr 13 07:13:41 1999 +0000
description:
pullup 1.8
diffstat:
usr.bin/audio/play/play.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (32 lines):
diff -r a86fa024f340 -r cd7bc31a3a44 usr.bin/audio/play/play.c
--- a/usr.bin/audio/play/play.c Tue Apr 13 06:49:29 1999 +0000
+++ b/usr.bin/audio/play/play.c Tue Apr 13 07:13:41 1999 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: play.c,v 1.7 1999/03/30 19:33:31 augustss Exp $ */
+/* $NetBSD: play.c,v 1.7.2.1 1999/04/13 07:13:41 mrg Exp $ */
/*
* Copyright (c) 1999 Matthew R. Green
@@ -293,8 +293,8 @@
return (-1);
}
- sample_rate = ntohl(sunhdr->sample_rate);
- channels = ntohl(sunhdr->channels);
+ info.play.sample_rate = ntohl(sunhdr->sample_rate);
+ info.play.channels = ntohl(sunhdr->channels);
hdr_len = ntohl(sunhdr->hdr_size);
goto set_audio_mode;
@@ -331,9 +331,9 @@
info.play.balance = balance;
if (fflag) {
if (sample_rate)
- info.play.gain = sample_rate;
+ info.play.sample_rate = sample_rate;
if (channels)
- info.play.gain = channels;
+ info.play.channels = channels;
if (encoding)
info.play.encoding = encoding;
if (precision)
Home |
Main Index |
Thread Index |
Old Index