From 2d816db7c05f396dba9d300200f994437e0642c9 Mon Sep 17 00:00:00 2001 From: fduncanh Date: Sat, 23 Apr 2022 11:40:27 -0400 Subject: [PATCH] restrict audio formats to AAC-ELD and ALAC (only ones ever seen) --- renderers/audio_renderer_gstreamer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/renderers/audio_renderer_gstreamer.c b/renderers/audio_renderer_gstreamer.c index 9d106dfa..0cda0aeb 100644 --- a/renderers/audio_renderer_gstreamer.c +++ b/renderers/audio_renderer_gstreamer.c @@ -69,7 +69,7 @@ static gboolean check_plugins (void) return ret; } -#define NFORMATS 4 +#define NFORMATS 2 /* set to 4 to enable AAC_LD and PCM: allowed, but never seen in real-world use */ static audio_renderer_t *renderer_type[NFORMATS]; static audio_renderer_t *renderer = NULL; static logger_t *logger = NULL;