SDL Wiki
(This function is part of SDL_mixer, a separate library from SDL.)

Mix_ReserveChannels

Reserve the first channels (0 -> n-1) for the application, i.e.

Syntax

int Mix_ReserveChannels(int num);

Function Parameters

num

number of channels

Return Value

Returns the number of reserved channels.

Remarks

don't allocate them dynamically to the next sample if requested with a -1 value below.

Version

This function is available since SDL_mixer 2.0.0.


CategoryAPI


[ edit | delete | history | feedback | raw ]

[ front page | index | search | recent changes | git repo | offline html ]

All wiki content is licensed under Creative Commons Attribution 4.0 International (CC BY 4.0).
Wiki powered by ghwikipp.