Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/tests/dev/audio Allow 24bit support.



details:   https://anonhg.NetBSD.org/src/rev/6e7a54c727db
branches:  trunk
changeset: 374458:6e7a54c727db
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Apr 23 16:49:38 2023 +0000

description:
Allow 24bit support.

diffstat:

 tests/dev/audio/audiotest.c |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (28 lines):

diff -r 13ff76815c1a -r 6e7a54c727db tests/dev/audio/audiotest.c
--- a/tests/dev/audio/audiotest.c       Sun Apr 23 11:53:00 2023 +0000
+++ b/tests/dev/audio/audiotest.c       Sun Apr 23 16:49:38 2023 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: audiotest.c,v 1.28 2023/02/13 22:24:06 andvar Exp $    */
+/*     $NetBSD: audiotest.c,v 1.29 2023/04/23 16:49:38 mlelstv Exp $   */
 
 /*
  * Copyright (C) 2019 Tetsuya Isaki. All rights reserved.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__RCSID("$NetBSD: audiotest.c,v 1.28 2023/02/13 22:24:06 andvar Exp $");
+__RCSID("$NetBSD: audiotest.c,v 1.29 2023/04/23 16:49:38 mlelstv Exp $");
 
 #include <errno.h>
 #include <fcntl.h>
@@ -53,6 +53,9 @@
 #include <rump/rump_syscalls.h>
 #endif
 
+/* this internal driver option is not exported to userland */
+#define AUDIO_SUPPORT_LINEAR24
+
 #if !defined(AUDIO_ENCODING_SLINEAR_NE)
 #if BYTE_ORDER == LITTLE_ENDIAN
 #define AUDIO_ENCODING_SLINEAR_NE AUDIO_ENCODING_SLINEAR_LE



Home | Main Index | Thread Index | Old Index