pad(4)'s output format is LE even on big endian arch.
This commit is contained in:
parent
f2eeaac104
commit
7844a17cf5
|
@ -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>
|
||||
|
@ -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_hw_if pad_hw_if = {
|
|||
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,
|
||||
|
|
Loading…
Reference in New Issue