From 2ff45313deaf5c8aa91b51025f0b449eb8cc2fe4 Mon Sep 17 00:00:00 2001 From: Wim Taymans Date: Mon, 1 Dec 2025 09:52:54 +0100 Subject: [PATCH] resample: allow compilation with custom default quality --- spa/plugins/audioconvert/resample.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/spa/plugins/audioconvert/resample.h b/spa/plugins/audioconvert/resample.h index a031fff16..fec3bf963 100644 --- a/spa/plugins/audioconvert/resample.h +++ b/spa/plugins/audioconvert/resample.h @@ -8,7 +8,10 @@ #include #include +#ifndef RESAMPLE_DEFAULT_QUALITY #define RESAMPLE_DEFAULT_QUALITY 4 +#endif + #define RESAMPLE_WINDOW_DEFAULT RESAMPLE_WINDOW_EXP #define RESAMPLE_MAX_PARAMS 16