SDL_Function

Name

Mix_AllocateChannels -- Allocates an arbitrary number of channels.

Synopsis

#include "SDL_mixer.h"

int Mix_AllocateChannels(int numchans);

Description

Mix_AllocateChannels will allocate the number of channels specified in numchans.

Return Value

Returns the number of channels that it was able to allocate.

Example

Mix_AllocateChannels(10);

See Also

Mix_OpenAudio

Mix_AllocateChannels (last edited 2008-04-17 08:18:15 by localhost)