SFML community forums

Help => Audio => Topic started by: OniLinkPlus on May 20, 2011, 05:37:03 am

Title: SoundBuffer multiple channel sample organization
Post by: OniLinkPlus on May 20, 2011, 05:37:03 am
When there are multiple channels in a sound buffer, how are the samples organized? Do they alternate between channels like
1,2,3,4,1,2,3,4,1,2,3,4?
Do they sort themselves by channel like
1,1,1,2,2,2,3,3,3,4,4,4?
Do they do something else?
Title: SoundBuffer multiple channel sample organization
Post by: Laurent on May 20, 2011, 07:29:10 am
Channels are interleaved

1,2,3,4,1,2,3,4,1,2,3,4
Title: SoundBuffer multiple channel sample organization
Post by: OniLinkPlus on May 20, 2011, 03:35:06 pm
Quote from: "Laurent"
Channels are interleaved

1,2,3,4,1,2,3,4,1,2,3,4
Awesome, that's what I was assuming.