Skip to content

Fix SIMDBuffer to read correct channel(s)#226

Merged
spluta merged 1 commit into
spluta:devfrom
tedmoore:Fix-SIMDBuffer
May 20, 2026
Merged

Fix SIMDBuffer to read correct channel(s)#226
spluta merged 1 commit into
spluta:devfrom
tedmoore:Fix-SIMDBuffer

Conversation

@tedmoore
Copy link
Copy Markdown
Collaborator

I was trying load a SIMDBuffer as 1 channel (I wanted just the left channel). The .wav file I was trying load was stereo. What I got was a single channel of SIMD floats that was 2x the number of samples in the source file, so I think it was loading L, R, L, R as a mono file.

This seems to fix it.

@tedmoore tedmoore requested a review from spluta May 19, 2026 00:16
@spluta spluta merged commit 45c6c19 into spluta:dev May 20, 2026
3 checks passed
@tedmoore tedmoore deleted the Fix-SIMDBuffer branch May 20, 2026 13:18
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