Skip to content

darwin: correct the default buffer delay unit - #318

Open
kumagi wants to merge 1 commit into
ebitengine:mainfrom
kumagi:codex/oto-low-440
Open

kumagi wants to merge 1 commit into
ebitengine:mainfrom
kumagi:codex/oto-low-440

Conversation

@kumagi

@kumagi kumagi commented Oct 10, 2026

Copy link
Copy Markdown
Contributor

The default buffer-delay calculation divides bytes by the sample size and channel count, producing frames rather than samples. Correct its unit to frames; the existing 128 ms result and buffer sizes remain unchanged.

Validation: native macOS arm64 internal race tests, internal vet, and the other vet analyzers passed. Full go vet reports the same pre-existing Darwin unsafe.Pointer warning as upstream main. Native macOS arm64 build passed. A comparison after removing line comments confirms executable code is unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant