##### [Define]

## FSOUND_INIT_FLAGS

Initialization flags. Use them with FSOUND_Init in the flags parameter to change various behaviour.
FSOUND_INIT_ENABLESYSTEMCHANNELFX Is an init mode which enables the FSOUND mixer buffer to be affected by DirectX 8 effects.
Note that due to limitations of DirectSound, FSOUND_Init may fail if this is enabled because the buffersize is too small.
This can be fixed with FSOUND_SetBufferSize. Increase the BufferSize until it works.
When it is enabled you can use the FSOUND_FX api, and use FSOUND_SYSTEMCHANNEL as the channel id when setting parameters.

FSOUND_INIT_USEDEFAULTMIDISYNTH | 0x0001 /* Win32 only - Causes MIDI playback to force software decoding. */
FSOUND_INIT_GLOBALFOCUS | 0x0002 /* Win32 only - For DirectSound output - sound is not muted when window is out of focus. */
FSOUND_INIT_ENABLESYSTEMCHANNELFX | 0x0004 /* Win32 only - For DirectSound output - Allows FSOUND_FX api to be used on global software mixer output! (use FSOUND_SYSTEMCHANNEL as channel id) */
FSOUND_INIT_ACCURATEVULEVELS | 0x0008 /* This latency adjusts FSOUND_GetCurrentLevels, but incurs a small cpu and memory hit */
FSOUND_INIT_PS2_DISABLECORE0REVERB | 0x0010 /* PS2 only - Disable reverb on CORE 0 (SPU2 voices 00-23) to regain SRAM */
FSOUND_INIT_PS2_DISABLECORE1REVERB | 0x0020 /* PS2 only - Disable reverb on CORE 1 (SPU2 voices 24-47) to regain SRAM */
FSOUND_INIT_PS2_SWAPDMACORES | 0x0040 /* PS2 only - By default FMOD uses DMA CH0 for mixing, CH1 for uploads, this flag swaps them around */
FSOUND_INIT_DONTLATENCYADJUST | 0x0080 /* Callbacks are not latency adjusted, and are called at mix time. Also information functions are immediate */
FSOUND_INIT_GC_INITLIBS | 0x0100 /* GC only - Initializes GC audio libraries */
FSOUND_INIT_STREAM_FROM_MAIN_THREAD | 0x0200 /* Turns off fmod streamer thread, and makes streaming update from FSOUND_Update called by the user */
FSOUND_INIT_PS2_USEVOLUMERAMPING | 0x0400 /* PS2 only - Turns on volume ramping system to remove hardware clicks. */
FSOUND_INIT_DSOUND_DEFERRED | 0x0800 /* Win32 only - For DirectSound output. 3D commands are batched together and executed at FSOUND_Update. */
FSOUND_INIT_DSOUND_HRTF_LIGHT | 0x1000 /* Win32 only - For DirectSound output. FSOUND_HW3D buffers use a slightly higher quality algorithm when 3d hardware acceleration is not present. */
FSOUND_INIT_DSOUND_HRTF_FULL | 0x2000 /* Win32 only - For DirectSound output. FSOUND_HW3D buffers use full quality 3d playback when 3d hardware acceleration is not present. */
FSOUND_INIT_XBOX_REMOVEHEADROOM | 0x4000 /* XBox only - By default directsound attenuates all sound by 6db to avoid clipping/distortion. CAUTION. If you use this flag you are responsible for the final mix to make sure clipping / distortion doesn't happen. */
FSOUND_INIT_PSP_SILENCEONUNDERRUN | 0x8000 /* PSP only - If streams skip / stutter when device is powered on, either increase stream buffersize, or use this flag instead to play silence while the UMD is recovering. */

### See Also

FSOUND_GetCurrentLevels , FSOUND_Init , FSOUND_SetBufferSize , FSOUND_Update

This document copyright ©Firelight Technologies, Pty, Ltd, 1999-2002. All rights reserved.
Generated Thu Dec 15 17:31:37 2005 by SourceDoc v0.10, the automated source code documenter.