Module Name: src Committed By: mlelstv Date: Mon Dec 11 13:28:15 UTC 2023
Modified Files: src/sys/dev/ic: anx_dp.c Log Message: Output is always 16bit, the internal audio data type may differ. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/sys/dev/ic/anx_dp.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/ic/anx_dp.c diff -u src/sys/dev/ic/anx_dp.c:1.5 src/sys/dev/ic/anx_dp.c:1.6 --- src/sys/dev/ic/anx_dp.c:1.5 Sun Dec 19 12:43:37 2021 +++ src/sys/dev/ic/anx_dp.c Mon Dec 11 13:28:15 2023 @@ -1,4 +1,4 @@ -/* $NetBSD: anx_dp.c,v 1.5 2021/12/19 12:43:37 riastradh Exp $ */ +/* $NetBSD: anx_dp.c,v 1.6 2023/12/11 13:28:15 mlelstv Exp $ */ /*- * Copyright (c) 2019 Jonathan A. Kollasch <jakll...@kollasch.net> @@ -27,7 +27,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: anx_dp.c,v 1.5 2021/12/19 12:43:37 riastradh Exp $"); +__KERNEL_RCSID(0, "$NetBSD: anx_dp.c,v 1.6 2023/12/11 13:28:15 mlelstv Exp $"); #include <sys/param.h> #include <sys/bus.h> @@ -791,7 +791,7 @@ anxdp_audio_swvol_codec(audio_filter_arg { struct anxdp_softc * const sc = arg->context; const aint_t *src; - aint_t *dst; + int16_t *dst; u_int sample_count; u_int i;