From 96c0eeb86b8234f6413544ee0c422eda1f82fbb7 Mon Sep 17 00:00:00 2001 From: Marcel van der Veldt Date: Thu, 4 Dec 2025 20:59:57 +0100 Subject: [PATCH] Allow WAV with bit depth above 16 bits --- music_assistant/controllers/streams/streams_controller.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/music_assistant/controllers/streams/streams_controller.py b/music_assistant/controllers/streams/streams_controller.py index c5a20666..4e5bab0a 100644 --- a/music_assistant/controllers/streams/streams_controller.py +++ b/music_assistant/controllers/streams/streams_controller.py @@ -1821,9 +1821,6 @@ class StreamsController(CoreController): # no point in having a higher bit depth for lossy formats output_bit_depth = 16 output_sample_rate = min(48000, output_sample_rate) - if content_type == ContentType.WAV and output_bit_depth > 16: - # WAV 24bit is not widely supported, fallback to 16bit - output_bit_depth = 16 if output_format_str == "pcm": content_type = ContentType.from_bit_depth(output_bit_depth) return AudioFormat( -- 2.34.1