diff options
| author | mlelstv <mlelstv@NetBSD.org> | 2023-04-23 16:49:38 +0000 |
|---|---|---|
| committer | mlelstv <mlelstv@NetBSD.org> | 2023-04-23 16:49:38 +0000 |
| commit | b57c47bad0e873a45b17698c46d6fe10e9cf0591 (patch) | |
| tree | 162ae8c7d42ea854fa71ba9caa365ef829a8d170 /tests/dev | |
| parent | 7e84a51f1e0fe056fc0a5c61f12f05119544946e (diff) | |
Allow 24bit support.
Diffstat (limited to 'tests/dev')
| -rw-r--r-- | tests/dev/audio/audiotest.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/tests/dev/audio/audiotest.c b/tests/dev/audio/audiotest.c index ba4aee4ad43..1265323d5ab 100644 --- a/tests/dev/audio/audiotest.c +++ b/tests/dev/audio/audiotest.c @@ -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 @@ __RCSID("$NetBSD: audiotest.c,v 1.28 2023/02/13 22:24:06 andvar Exp $"); #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 |
