Skip to content

fix(sound): memset sizes the silence buffer with the wrong element type - #971

Merged
Try merged 2 commits into
Try:masterfrom
orbis-ports:fix/gamemusic-buffer-size
Aug 20, 2026
Merged

fix(sound): memset sizes the silence buffer with the wrong element type#971
Try merged 2 commits into
Try:masterfrom
orbis-ports:fix/gamemusic-buffer-size

Conversation

@mikolajmikolajczyk

@mikolajmikolajczyk mikolajmikolajczyk commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

The element size is settled by the format.
Tempest declares: alBufferCallbackDirectSOFT is given AL_FORMAT_STEREO16 or AL_FORMAT_MONO16.

mikolajmikolajczyk and others added 2 commits August 20, 2026 19:48
The element size is settled by the format Tempest declares:
alBufferCallbackDirectSOFT is given AL_FORMAT_STEREO16 or AL_FORMAT_MONO16.
@Try

Try commented Aug 20, 2026

Copy link
Copy Markdown
Owner

I've changed path slightly: int16_t -> out[0], so we don't name same type twice

@Try
Try merged commit a9b62ab into Try:master Aug 20, 2026
6 checks passed
@Try

Try commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Merged, thanks!

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.

2 participants