From 38965a638e12a04106310841962f00bc17dde466 Mon Sep 17 00:00:00 2001 From: "Alfred E. Heggestad" <114750+alfredh@users.noreply.github.com> Date: Thu, 13 Jun 2024 14:21:27 +0200 Subject: [PATCH] aumix_debug: use const --- include/rem_aumix.h | 2 +- rem/aumix/aumix.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/rem_aumix.h b/include/rem_aumix.h index 41f715df6..4017fa27d 100644 --- a/include/rem_aumix.h +++ b/include/rem_aumix.h @@ -33,4 +33,4 @@ int aumix_source_put(struct aumix_source *src, const int16_t *sampv, size_t sampc); void aumix_source_readh(struct aumix_source *src, aumix_read_h *readh); void aumix_source_flush(struct aumix_source *src); -int aumix_debug(struct re_printf *pf, struct aumix *mix); +int aumix_debug(struct re_printf *pf, const struct aumix *mix); diff --git a/rem/aumix/aumix.c b/rem/aumix/aumix.c index 85c9c6473..c3458e425 100644 --- a/rem/aumix/aumix.c +++ b/rem/aumix/aumix.c @@ -565,7 +565,7 @@ void aumix_source_flush(struct aumix_source *src) * * @return 0 if success, otherwise errorcode */ -int aumix_debug(struct re_printf *pf, struct aumix *mix) +int aumix_debug(struct re_printf *pf, const struct aumix *mix) { struct le *le; int err = 0;