nativeaudio

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

commit ca92fe50f56e07bb9c6cf1b85ef8f3bb2a9411df
parent 075de28390e236d09e8640665574fc8060d3bc77
Author: Jack Mordaunt <jackmordaunt.dev@gmail.com>
Date:   Wed, 16 Sep 2026 21:26:02 -0400

audio: gofmt doc comments

Go 1.19 gofmt reformats indented code blocks in doc comments to a single
tab. No code changes; this keeps `gofmt -l` quiet before the fixes that
follow.

Diffstat:
Maudio_ffmpeg.go | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/audio_ffmpeg.go b/audio_ffmpeg.go @@ -20,7 +20,7 @@ import ( // FFmpegPlay an audio file with ffplay. // -// ffplay -vn <path> -nodisp -autoexit +// ffplay -vn <path> -nodisp -autoexit // // -vn: no video, // -nodisp: do not launch graphical window, @@ -40,7 +40,7 @@ func FFmpegPlay(path string) error { // FFmpegLoad raw PCM with ffmpeg. // -// ffmpeg -i <path> -f s16le - +// ffmpeg -i <path> -f s16le - // // s16le is the PCM format specifier, the final dash means "pipe to // stdout". @@ -87,7 +87,7 @@ func (c *counter) Done() { // FFmpegDecode raw PCM with ffmpeg. // -// ffmpeg -f m4a -i pipe: -f s16le - +// ffmpeg -f m4a -i pipe: -f s16le - // // s16le is the PCM format specifier, the final dash means "pipe to // stdout".