Output is always 16bit, the internal audio data type may differ.
This commit is contained in:
parent
017edd802a
commit
82249e7b1d
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: es8316ac.c,v 1.5 2021/01/27 02:29:48 thorpej Exp $ */
|
/* $NetBSD: es8316ac.c,v 1.6 2023/12/11 13:27:24 mlelstv Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2020 Jared McNeill <jmcneill@invisible.ca>
|
* Copyright (c) 2020 Jared McNeill <jmcneill@invisible.ca>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: es8316ac.c,v 1.5 2021/01/27 02:29:48 thorpej Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: es8316ac.c,v 1.6 2023/12/11 13:27:24 mlelstv Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
|
@ -298,7 +298,7 @@ escodec_swvol_codec(audio_filter_arg_t *arg)
|
||||||
{
|
{
|
||||||
struct escodec_softc * const sc = arg->context;
|
struct escodec_softc * const sc = arg->context;
|
||||||
const aint_t *src;
|
const aint_t *src;
|
||||||
aint_t *dst;
|
int16_t *dst;
|
||||||
u_int sample_count;
|
u_int sample_count;
|
||||||
u_int i;
|
u_int i;
|
||||||
|
|
||||||
|
|
|
@ -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 <jakllsch@kollasch.net>
|
* Copyright (c) 2019 Jonathan A. Kollasch <jakllsch@kollasch.net>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#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/param.h>
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
|
@ -791,7 +791,7 @@ anxdp_audio_swvol_codec(audio_filter_arg_t *arg)
|
||||||
{
|
{
|
||||||
struct anxdp_softc * const sc = arg->context;
|
struct anxdp_softc * const sc = arg->context;
|
||||||
const aint_t *src;
|
const aint_t *src;
|
||||||
aint_t *dst;
|
int16_t *dst;
|
||||||
u_int sample_count;
|
u_int sample_count;
|
||||||
u_int i;
|
u_int i;
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* $NetBSD: dw_hdmi.c,v 1.10 2022/03/25 23:16:04 tnn Exp $ */
|
/* $NetBSD: dw_hdmi.c,v 1.11 2023/12/11 13:29:03 mlelstv Exp $ */
|
||||||
|
|
||||||
/*-
|
/*-
|
||||||
* Copyright (c) 2019 Jared D. McNeill <jmcneill@invisible.ca>
|
* Copyright (c) 2019 Jared D. McNeill <jmcneill@invisible.ca>
|
||||||
|
@ -27,7 +27,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sys/cdefs.h>
|
#include <sys/cdefs.h>
|
||||||
__KERNEL_RCSID(0, "$NetBSD: dw_hdmi.c,v 1.10 2022/03/25 23:16:04 tnn Exp $");
|
__KERNEL_RCSID(0, "$NetBSD: dw_hdmi.c,v 1.11 2023/12/11 13:29:03 mlelstv Exp $");
|
||||||
|
|
||||||
#include <sys/param.h>
|
#include <sys/param.h>
|
||||||
#include <sys/bus.h>
|
#include <sys/bus.h>
|
||||||
|
@ -729,7 +729,7 @@ dwhdmi_audio_swvol_codec(audio_filter_arg_t *arg)
|
||||||
{
|
{
|
||||||
struct dwhdmi_softc * const sc = arg->context;
|
struct dwhdmi_softc * const sc = arg->context;
|
||||||
const aint_t *src;
|
const aint_t *src;
|
||||||
aint_t *dst;
|
int16_t *dst;
|
||||||
u_int sample_count;
|
u_int sample_count;
|
||||||
u_int i;
|
u_int i;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue