[SDL] confusion over sound channels
Gabriel Gambetta
mystml at adinet.com.uy
Sun Mar 23 16:01:51 PDT 2008
As I understand it, there are two different things called "channels". One is
the number of what we usually call channels - 1 for mono output, 2 for
stereo. The "supported" sentence means SDL supports either mono or stereo
output, that is, 1 or 2 channels, but not 3.
The other thing that SDL_mixer calls "channels" is the mixing channels - how
many samples + music you can have playing simultaneously. Those channels do
have indexes. The music channel doesn't, and is managed through a different
set of functions.
--Gabriel
On Sun, Mar 23, 2008 at 4:09 PM, Daniel Grace <danwgrace at gmail.com> wrote:
> If I try to initialise more than 4 channels then a message is returned:
> "1 mono channel and 2 stereo channels supported"
> But that is 3 channels not 4, so what is the index of each channel ?
> Does the music channel have an index ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080323/528fed01/attachment.html
More information about the SDL
mailing list