nativeaudio

audio playback for Go
Log | Files | Refs | README | LICENSE

commit 0c9c77611e8067c20f4e99b7fc374434a54904c0
parent 347b25f8f9aca4e94382b3029d4492664967a9ea
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Wed, 16 Sep 2026 21:29:00 -0400

audio: fix ffplay -autoexit flag

The flag was spelled -autoext, which ffplay rejects with "Missing
argument for option", so FFmpegPlay failed on every call.

Diffstat:
Maudio_ffmpeg.go | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/audio_ffmpeg.go b/audio_ffmpeg.go @@ -31,7 +31,7 @@ func FFmpegPlay(path string) error { "-vn", path, "-nodisp", - "-autoext", + "-autoexit", ).CombinedOutput(); err != nil { return fmt.Errorf("ffplay: %s: %w", string(out), err) }