From a61631a29966f3a72d6f4e65982dd3fec9402fe9 Mon Sep 17 00:00:00 2001 From: Vanilagy <1696106+Vanilagy@users.noreply.github.com> Date: Wed, 29 Apr 2026 16:30:10 +0200 Subject: [PATCH] Clarify in readme --- packages/flac-encoder/src/encoder.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/flac-encoder/src/encoder.ts b/packages/flac-encoder/src/encoder.ts index 3bb8339..d2706a6 100644 --- a/packages/flac-encoder/src/encoder.ts +++ b/packages/flac-encoder/src/encoder.ts @@ -199,7 +199,8 @@ class FlacEncoder extends CustomAudioEncoder { /** * Registers the FLAC encoder, which Mediabunny will then use automatically when applicable. Make sure to call this - * function before starting any encoding task. + * function before starting any encoding task. The FLAC encoder will automatically determine the output bit depth + * (16 or 24) based on the sample format of incoming `AudioSample` instances. * * Preferably, wrap the call in a condition to avoid overriding any native FLAC encoder: *