mirror of
https://github.com/gesellix/Bose-SoundTouch.git
synced 2026-08-19 00:56:16 +00:00
Speakers need a moment to start buffering after receiving a ContentItem; the first ~2 s of audio is often missed. Repeating the ding 3 times with 0.4 s gaps between each ensures at least one repetition is audible. - Add Repeat (default 3) and RepeatGapDuration (default 0.40 s) to Options - Render() appends silence + base audio for each extra repetition - WithDefaults() fills zero values for the new fields - Handler exposes ?repeat= (1–10) and ?repeat-gap-ms= query knobs - Update TestRender_DefaultSizeApproximately52KB → ~229 KB (2.6 s) - Add TestRender_RepeatProducesLongerAudio Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>