From 7a13ae55a6e51b0b5c3decf09302e2cb7a5e3ece Mon Sep 17 00:00:00 2001 From: qrlh <68157294+qrlh@users.noreply.github.com> Date: Sat, 4 Apr 2026 17:58:24 +0200 Subject: [PATCH] Add mka (Matroska audio) to the extensions exposed in the GUI (#49) Since the mka and mkv extensions are both Matroska format and share magic bytes, mka should work perfectly fine, even though it isn't explicitly mentioned by Symphonia. Tested it and it works, (as long as the audio codec is supported). --- src/gui/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gui/mod.rs b/src/gui/mod.rs index 1d66b03..648583a 100644 --- a/src/gui/mod.rs +++ b/src/gui/mod.rs @@ -24,8 +24,8 @@ use std::{ sync::{Arc, Mutex}, }; -const SUPPORTED_EXTENSIONS: [&str; 11] = [ - "mp3", "wav", "ogg", "flac", "mp4", "m4a", "aac", "mov", "mkv", "webm", "avi", +const SUPPORTED_EXTENSIONS: [&str; 12] = [ + "mp3", "wav", "ogg", "flac", "mp4", "m4a", "aac", "mov", "mkv", "mka", "webm", "avi", ]; struct SoundpadGui {