Module Name: src
Committed By: nat
Date: Sun Jun 25 10:28:23 UTC 2017
Modified Files:
src/sys/dev: audio.c
Log Message:
Don't autoconfig for 24 bits precision. It does not work as yet.
To generate a diff of this commit:
cvs rdiff -u -r1.365 -r1.366 src/sys/dev/audio.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/audio.c
diff -u src/sys/dev/audio.c:1.365 src/sys/dev/audio.c:1.366
--- src/sys/dev/audio.c:1.365 Sun Jun 25 09:42:40 2017
+++ src/sys/dev/audio.c Sun Jun 25 10:28:22 2017
@@ -1,4 +1,4 @@
-/* $NetBSD: audio.c,v 1.365 2017/06/25 09:42:40 nat Exp $ */
+/* $NetBSD: audio.c,v 1.366 2017/06/25 10:28:22 nat Exp $ */
/*-
* Copyright (c) 2016 Nathanial Sloss <[email protected]>
@@ -148,7 +148,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.365 2017/06/25 09:42:40 nat Exp $");
+__KERNEL_RCSID(0, "$NetBSD: audio.c,v 1.366 2017/06/25 10:28:22 nat Exp $");
#ifdef _KERNEL_OPT
#include "audio.h"
@@ -447,7 +447,7 @@ const struct audio_params audio_default
.channels = 1,
};
-int auto_config_precision[] = { 32, 24, 16, 8 };
+int auto_config_precision[] = { 32, 16, 8 };
int auto_config_channels[] = { 32, 24, 16, 8, 6, 4, 2, 1};
int auto_config_freq[] = { 48000, 44100, 96000, 192000, 32000,
22050, 16000, 11025, 8000, 4000 };