Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: SoundBuffer multiple channel sample organization  (Read 2174 times)

0 Members and 1 Guest are viewing this topic.

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
SoundBuffer multiple channel sample organization
« 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?
I use the latest build of SFML2

Laurent

  • Administrator
  • Hero Member
  • *****
  • Posts: 32504
    • View Profile
    • SFML's website
    • Email
SoundBuffer multiple channel sample organization
« Reply #1 on: May 20, 2011, 07:29:10 am »
Channels are interleaved

1,2,3,4,1,2,3,4,1,2,3,4
Laurent Gomila - SFML developer

OniLinkPlus

  • Hero Member
  • *****
  • Posts: 500
    • View Profile
SoundBuffer multiple channel sample organization
« Reply #2 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.
I use the latest build of SFML2