From 4b4b3665230faafbd994f09894cb07c8f9d4b359 Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Thu, 9 Apr 2026 14:39:40 +0300 Subject: Release v0.28.1: convert Gemini TTS mono audio to stereo Duplicate each 16-bit PCM sample into both L/R channels so all audio output uses both speakers, and retroactively converted the 88 existing card MP3s to stereo via ffmpeg. Co-Authored-By: Claude Sonnet 4.6 --- internal/audio/gemini_provider_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'internal/audio/gemini_provider_test.go') diff --git a/internal/audio/gemini_provider_test.go b/internal/audio/gemini_provider_test.go index 64b43b1..21b8a37 100644 --- a/internal/audio/gemini_provider_test.go +++ b/internal/audio/gemini_provider_test.go @@ -212,7 +212,8 @@ func TestWriteGeminiAudioFileWritesWAV(t *testing.T) { t.Fatalf("output file does not look like WAV data: %q", fileData[:4]) } - if got, want := len(fileData), 44+len(pcmData); got != want { + // Mono PCM is duplicated to stereo (both channels), so the data section doubles. + if got, want := len(fileData), 44+len(pcmData)*2; got != want { t.Fatalf("len(output) = %d, want %d", got, want) } } -- cgit v1.2.3