signed char F_API FSOUND_Init(
int mixrate,
int maxsoftwarechannels,
unsigned int flags
);
mixrate | Output rate in hz between 4000 and 65535. Any thing outside this will cause the function to fail and return FALSE. PS2 Note. Only rates of 24000 and 48000 are supported. PSP Note. Only rates of 22050 and 44100 are supported. SmartPhone Note. Use 22050 or the operating system may crash outside of the control of fmod. |
maxchannels | Maximum number of SOFTWARE channels available. The number of HARDWARE channels is autodetected. The total number of channels available (hardware and software) after initialization can be found with FSOUND_GetMaxChannels. Having a large number of maxchannels does not adversely affect cpu usage, but it means it has the POTENTIAL to mix a large number of channels, which can have an adverse effect on cpu usage. 1024 is the highest number that can be set. Anything higher will return an error. |
flags | See FSOUND_INIT_FLAGS. Controls some global or initialization time aspects of playback. |