Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/broadcom codec translates to 16bit slinear_le, ...



details:   https://anonhg.NetBSD.org/src/rev/24b5c256b4c7
branches:  trunk
changeset: 374533:24b5c256b4c7
user:      mlelstv <mlelstv%NetBSD.org@localhost>
date:      Sun Apr 30 14:20:23 2023 +0000

description:
codec translates to 16bit slinear_le, not the internal format.

diffstat:

 sys/arch/arm/broadcom/bcm2835_vcaudio.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 7900eaffcab2 -r 24b5c256b4c7 sys/arch/arm/broadcom/bcm2835_vcaudio.c
--- a/sys/arch/arm/broadcom/bcm2835_vcaudio.c   Sun Apr 30 08:46:33 2023 +0000
+++ b/sys/arch/arm/broadcom/bcm2835_vcaudio.c   Sun Apr 30 14:20:23 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: bcm2835_vcaudio.c,v 1.18 2021/04/24 23:36:26 thorpej Exp $ */
+/* $NetBSD: bcm2835_vcaudio.c,v 1.19 2023/04/30 14:20:23 mlelstv Exp $ */
 
 /*-
  * Copyright (c) 2013 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: bcm2835_vcaudio.c,v 1.18 2021/04/24 23:36:26 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: bcm2835_vcaudio.c,v 1.19 2023/04/30 14:20:23 mlelstv Exp $");
 
 #include <sys/param.h>
 #include <sys/types.h>
@@ -840,7 +840,7 @@ vcaudio_swvol_codec(audio_filter_arg_t *
 {
        struct vcaudio_softc *sc = arg->context;
        const aint_t *src;
-       aint_t *dst;
+       int16_t *dst;
        u_int sample_count;
        u_int i;
 



Home | Main Index | Thread Index | Old Index