Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pad pad(4)'s output format is LE even on big endian ...
details: https://anonhg.NetBSD.org/src/rev/e711004d27ff
branches: trunk
changeset: 457313:e711004d27ff
user: isaki <isaki%NetBSD.org@localhost>
date: Wed Jun 19 12:51:26 2019 +0000
description:
pad(4)'s output format is LE even on big endian arch.
diffstat:
sys/dev/pad/pad.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 53cc0fd4b654 -r e711004d27ff sys/dev/pad/pad.c
--- a/sys/dev/pad/pad.c Wed Jun 19 12:49:49 2019 +0000
+++ b/sys/dev/pad/pad.c Wed Jun 19 12:51:26 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pad.c,v 1.59 2019/05/08 13:40:18 isaki Exp $ */
+/* $NetBSD: pad.c,v 1.60 2019/06/19 12:51:26 isaki Exp $ */
/*-
* Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.59 2019/05/08 13:40:18 isaki Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pad.c,v 1.60 2019/06/19 12:51:26 isaki Exp $");
#include <sys/types.h>
#include <sys/param.h>
@@ -140,7 +140,7 @@
static const struct audio_format pad_formats[PAD_NFORMATS] = {
{
.mode = AUMODE_PLAY,
- .encoding = AUDIO_ENCODING_SLINEAR_NE,
+ .encoding = AUDIO_ENCODING_SLINEAR_LE,
.validbits = PADPREC,
.precision = PADPREC,
.channels = PADCHAN,
Home |
Main Index |
Thread Index |
Old Index