From c20d63c8a6ce153e53d645b06b0f5086cf503d0d Mon Sep 17 00:00:00 2001 From: Henk <7526774+henk717@users.noreply.github.com> Date: Sun, 22 Mar 2026 03:13:51 +0100 Subject: [PATCH 1/5] M4A file support --- src/app/plugins/voice-recorder-kit/supportedCodec.ts | 2 ++ src/app/utils/mimeTypes.ts | 1 + 2 files changed, 3 insertions(+) diff --git a/src/app/plugins/voice-recorder-kit/supportedCodec.ts b/src/app/plugins/voice-recorder-kit/supportedCodec.ts index 445147cda..03c7db7e0 100644 --- a/src/app/plugins/voice-recorder-kit/supportedCodec.ts +++ b/src/app/plugins/voice-recorder-kit/supportedCodec.ts @@ -67,6 +67,8 @@ export function getSupportedAudioExtension(codec: string): string { return 'webm'; case 'audio/mp4': return 'm4a'; + case 'audio/x-m4a': + return 'm4a'; case 'audio/mpeg': return 'mp3'; case 'audio/wav': diff --git a/src/app/utils/mimeTypes.ts b/src/app/utils/mimeTypes.ts index 98c5aee97..5285ff443 100644 --- a/src/app/utils/mimeTypes.ts +++ b/src/app/utils/mimeTypes.ts @@ -11,6 +11,7 @@ export const VIDEO_MIME_TYPES = ['video/mp4', 'video/webm', 'video/ogg', 'video/ export const AUDIO_MIME_TYPES = [ 'audio/mp4', + 'audio/x-m4a', 'audio/webm', 'audio/aac', 'audio/mpeg', From 13212d710ea5ecf7b28eec2a4c1ef712099cddb3 Mon Sep 17 00:00:00 2001 From: Henk <7526774+henk717@users.noreply.github.com> Date: Sun, 22 Mar 2026 14:03:07 +0100 Subject: [PATCH 2/5] m4a changeset --- .changeset/fix-m4a-filetypes.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/fix-m4a-filetypes.md diff --git a/.changeset/fix-m4a-filetypes.md b/.changeset/fix-m4a-filetypes.md new file mode 100644 index 000000000..a719b7613 --- /dev/null +++ b/.changeset/fix-m4a-filetypes.md @@ -0,0 +1,5 @@ +--- +default: patch +--- + +Add .m4a files as a recognized audio type. \ No newline at end of file From 68e956342898b35cd9df64de324763231d98d607 Mon Sep 17 00:00:00 2001 From: Henk <7526774+henk717@users.noreply.github.com> Date: Sun, 22 Mar 2026 15:53:17 +0100 Subject: [PATCH 3/5] m4a: prettier pass --- .changeset/fix-m4a-filetypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/fix-m4a-filetypes.md b/.changeset/fix-m4a-filetypes.md index a719b7613..1a3a79259 100644 --- a/.changeset/fix-m4a-filetypes.md +++ b/.changeset/fix-m4a-filetypes.md @@ -2,4 +2,4 @@ default: patch --- -Add .m4a files as a recognized audio type. \ No newline at end of file +Add .m4a files as a recognized audio type. From 6940b6d765107a4005faa3e647390d649568110f Mon Sep 17 00:00:00 2001 From: Rose Date: Sun, 22 Mar 2026 16:04:15 +0100 Subject: [PATCH 4/5] =?UTF-8?q?put=20=E2=80=9C.m4a=E2=80=9D=20inside=20inl?= =?UTF-8?q?ine=20code?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/fix-m4a-filetypes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.changeset/fix-m4a-filetypes.md b/.changeset/fix-m4a-filetypes.md index 1a3a79259..24b9e56d1 100644 --- a/.changeset/fix-m4a-filetypes.md +++ b/.changeset/fix-m4a-filetypes.md @@ -2,4 +2,4 @@ default: patch --- -Add .m4a files as a recognized audio type. +Add `.m4a` files as a recognized audio type. From d2fe3608f9606ee8773b390484369ebe6e085740 Mon Sep 17 00:00:00 2001 From: Henk <7526774+henk717@users.noreply.github.com> Date: Sun, 22 Mar 2026 16:26:54 +0100 Subject: [PATCH 5/5] m4a: remove unneccesary change --- src/app/plugins/voice-recorder-kit/supportedCodec.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/app/plugins/voice-recorder-kit/supportedCodec.ts b/src/app/plugins/voice-recorder-kit/supportedCodec.ts index 03c7db7e0..445147cda 100644 --- a/src/app/plugins/voice-recorder-kit/supportedCodec.ts +++ b/src/app/plugins/voice-recorder-kit/supportedCodec.ts @@ -67,8 +67,6 @@ export function getSupportedAudioExtension(codec: string): string { return 'webm'; case 'audio/mp4': return 'm4a'; - case 'audio/x-m4a': - return 'm4a'; case 'audio/mpeg': return 'mp3'; case 'audio/wav':