fmod.h   fmod.h 
skipping to change at line 19 skipping to change at line 19
/* ======================================================================== ==================== */ /* ======================================================================== ==================== */
#ifndef _FMOD_H #ifndef _FMOD_H
#define _FMOD_H #define _FMOD_H
/* /*
FMOD version number. Check this against FMOD::System::getVersion. FMOD version number. Check this against FMOD::System::getVersion.
0xaaaabbcc -> aaaa = major version number. bb = minor version number. cc = development version number. 0xaaaabbcc -> aaaa = major version number. bb = minor version number. cc = development version number.
*/ */
#define FMOD_VERSION 0x00043504 #define FMOD_VERSION 0x00043505
/* /*
Compiler specific settings. Compiler specific settings.
*/ */
#if defined(__CYGWIN32__) #if defined(__CYGWIN32__)
#define F_CDECL __cdecl #define F_CDECL __cdecl
#define F_STDCALL __stdcall #define F_STDCALL __stdcall
#define F_DECLSPEC __declspec #define F_DECLSPEC __declspec
#define F_DLLEXPORT ( dllexport ) #define F_DLLEXPORT ( dllexport )
skipping to change at line 170 skipping to change at line 170
FMOD_ERR_OUTPUT_NOHARDWARE, /* FMOD_HARDWARE was specified but the sound card does not have the resources necessary to play it. */ FMOD_ERR_OUTPUT_NOHARDWARE, /* FMOD_HARDWARE was specified but the sound card does not have the resources necessary to play it. */
FMOD_ERR_OUTPUT_NOSOFTWARE, /* Attempted to create a software sound but no software channels were specified in System::init. */ FMOD_ERR_OUTPUT_NOSOFTWARE, /* Attempted to create a software sound but no software channels were specified in System::init. */
FMOD_ERR_PAN, /* Panning only works with mono or ster eo sound sources. */ FMOD_ERR_PAN, /* Panning only works with mono or ster eo sound sources. */
FMOD_ERR_PLUGIN, /* An unspecified error has been return ed from a 3rd party plugin. */ FMOD_ERR_PLUGIN, /* An unspecified error has been return ed from a 3rd party plugin. */
FMOD_ERR_PLUGIN_INSTANCES, /* The number of allowed instances of a plugin has been exceeded. */ FMOD_ERR_PLUGIN_INSTANCES, /* The number of allowed instances of a plugin has been exceeded. */
FMOD_ERR_PLUGIN_MISSING, /* A requested output, dsp unit type or codec was not available. */ FMOD_ERR_PLUGIN_MISSING, /* A requested output, dsp unit type or codec was not available. */
FMOD_ERR_PLUGIN_RESOURCE, /* A resource that the plugin requires cannot be found. (ie the DLS file for MIDI playback) */ FMOD_ERR_PLUGIN_RESOURCE, /* A resource that the plugin requires cannot be found. (ie the DLS file for MIDI playback) */
FMOD_ERR_PRELOADED, /* The specified sound is still in use by the event system, call EventSystem::unloadFSB before trying to release i t. */ FMOD_ERR_PRELOADED, /* The specified sound is still in use by the event system, call EventSystem::unloadFSB before trying to release i t. */
FMOD_ERR_PROGRAMMERSOUND, /* The specified sound is still in use by the event system, wait for the event which is using it finish with it. * / FMOD_ERR_PROGRAMMERSOUND, /* The specified sound is still in use by the event system, wait for the event which is using it finish with it. * /
FMOD_ERR_RECORD, /* An error occured trying to initializ e the recording device. */ FMOD_ERR_RECORD, /* An error occured trying to initializ e the recording device. */
FMOD_ERR_REVERB_INSTANCE, /* Specified Instance in FMOD_REVERB_PR OPERTIES couldn't be set. Most likely because it is an invalid instance num ber. */ FMOD_ERR_REVERB_INSTANCE, /* Specified instance in FMOD_REVERB_PR OPERTIES couldn't be set. Most likely because it is an invalid instance num ber or the reverb doesnt exist. */
FMOD_ERR_SUBSOUND_ALLOCATED, /* This subsound is already being used by another sound, you cannot have more than one parent to a sound. Null ou t the other parent's entry first. */ FMOD_ERR_SUBSOUND_ALLOCATED, /* This subsound is already being used by another sound, you cannot have more than one parent to a sound. Null ou t the other parent's entry first. */
FMOD_ERR_SUBSOUND_CANTMOVE, /* Shared subsounds cannot be replaced or moved from their parent stream, such as when the parent stream is an FSB file. */ FMOD_ERR_SUBSOUND_CANTMOVE, /* Shared subsounds cannot be replaced or moved from their parent stream, such as when the parent stream is an FSB file. */
FMOD_ERR_SUBSOUND_MODE, /* The subsound's mode bits do not matc h with the parent sound's mode bits. See documentation for function that i t was called with. */ FMOD_ERR_SUBSOUND_MODE, /* The subsound's mode bits do not matc h with the parent sound's mode bits. See documentation for function that i t was called with. */
FMOD_ERR_SUBSOUNDS, /* The error occured because the sound referenced contains subsounds when it shouldn't have, or it doesn't contain subsounds when it should have. The operation may also not be able to be p erformed on a parent sound, or a parent sound was played without setting up a sentence first. */ FMOD_ERR_SUBSOUNDS, /* The error occured because the sound referenced contains subsounds when it shouldn't have, or it doesn't contain subsounds when it should have. The operation may also not be able to be p erformed on a parent sound, or a parent sound was played without setting up a sentence first. */
FMOD_ERR_TAGNOTFOUND, /* The specified tag could not be found or there are no tags. */ FMOD_ERR_TAGNOTFOUND, /* The specified tag could not be found or there are no tags. */
FMOD_ERR_TOOMANYCHANNELS, /* The sound created exceeds the allowa ble input channel count. This can be increased using the maxinputchannels parameter in System::setSoftwareFormat. */ FMOD_ERR_TOOMANYCHANNELS, /* The sound created exceeds the allowa ble input channel count. This can be increased using the maxinputchannels parameter in System::setSoftwareFormat. */
FMOD_ERR_UNIMPLEMENTED, /* Something in FMOD hasn't been implem ented when it should be! contact support! */ FMOD_ERR_UNIMPLEMENTED, /* Something in FMOD hasn't been implem ented when it should be! contact support! */
FMOD_ERR_UNINITIALIZED, /* This command failed because System:: init or System::setDriver was not called. */ FMOD_ERR_UNINITIALIZED, /* This command failed because System:: init or System::setDriver was not called. */
FMOD_ERR_UNSUPPORTED, /* A command issued was not supported b y this object. Possibly a plugin without certain callbacks specified. */ FMOD_ERR_UNSUPPORTED, /* A command issued was not supported b y this object. Possibly a plugin without certain callbacks specified. */
FMOD_ERR_UPDATE, /* An error caused by System::update oc cured. */ FMOD_ERR_UPDATE, /* An error caused by System::update oc cured. */
skipping to change at line 713 skipping to change at line 713
System::setAdvancedSettings System::setAdvancedSettings
Channel::set3DOcclusion Channel::set3DOcclusion
] ]
*/ */
#define FMOD_INIT_NORMAL 0x00000000 /* All platforms - Initialize normally */ #define FMOD_INIT_NORMAL 0x00000000 /* All platforms - Initialize normally */
#define FMOD_INIT_STREAM_FROM_UPDATE 0x00000001 /* All platforms - No stream thread is created internally. Streams are driven from System::up date. Mainly used with non-realtime outputs. */ #define FMOD_INIT_STREAM_FROM_UPDATE 0x00000001 /* All platforms - No stream thread is created internally. Streams are driven from System::up date. Mainly used with non-realtime outputs. */
#define FMOD_INIT_3D_RIGHTHANDED 0x00000002 /* All platforms - FMOD will treat +X as right, +Y as up and +Z as backwards (towards you). */ #define FMOD_INIT_3D_RIGHTHANDED 0x00000002 /* All platforms - FMOD will treat +X as right, +Y as up and +Z as backwards (towards you). */
#define FMOD_INIT_SOFTWARE_DISABLE 0x00000004 /* All platforms - Disable software mixer to save memory. Anything created with FMOD_SOFTWARE will fail and DSP will not work. */ #define FMOD_INIT_SOFTWARE_DISABLE 0x00000004 /* All platforms - Disable software mixer to save memory. Anything created with FMOD_SOFTWARE will fail and DSP will not work. */
#define FMOD_INIT_SOFTWARE_OCCLUSION 0x00000008 /* All platforms - All FMOD_SOFTWARE with FMOD_3D based voices will add a software lowpass fil ter effect into the DSP chain which is automatically used when Channel::set 3DOcclusion is used or the geometry API. */ #define FMOD_INIT_SOFTWARE_OCCLUSION 0x00000008 /* All platforms - All FMOD_SOFTWARE with FMOD_3D based voices will add a software lowpass fil ter effect into the DSP chain which is automatically used when Channel::set 3DOcclusion is used or the geometry API. */
#define FMOD_INIT_SOFTWARE_HRTF 0x00000010 /* All platforms - All FMOD_SOFTWARE with FMOD_3D based voices will add a software lowpass fil ter effect into the DSP chain which causes sounds to sound duller when the sound goes behind the listener. Use System::setAdvancedSettings to adjust cutoff frequency. */ #define FMOD_INIT_SOFTWARE_HRTF 0x00000010 /* All platforms - All FMOD_SOFTWARE with FMOD_3D based voices will add a software lowpass fil ter effect into the DSP chain which causes sounds to sound duller when the sound goes behind the listener. Use System::setAdvancedSettings to adjust cutoff frequency. */
#define FMOD_INIT_DISTANCE_FILTERING 0x00000200 /* All platforms - All FMOD_SOFTWARE with FMOD_3D based voices will add a software lowpass and highpass filter effect into the DSP chain which will act as a distance-aut omated bandpass filter. Use System::setAdvancedSettings to adjust the centr e frequency. */
#define FMOD_INIT_SOFTWARE_REVERB_LOWMEM 0x00000040 /* All platforms - SFX reverb is run using 22/24khz delay buffers, halving the memory required . */ #define FMOD_INIT_SOFTWARE_REVERB_LOWMEM 0x00000040 /* All platforms - SFX reverb is run using 22/24khz delay buffers, halving the memory required . */
#define FMOD_INIT_ENABLE_PROFILE 0x00000020 /* All platforms - Enable TCP/IP based host which allows FMOD Designer or FMOD Profiler to con nect to it, and view memory, CPU and the DSP network graph in real-time. */ #define FMOD_INIT_ENABLE_PROFILE 0x00000020 /* All platforms - Enable TCP/IP based host which allows FMOD Designer or FMOD Profiler to con nect to it, and view memory, CPU and the DSP network graph in real-time. */
#define FMOD_INIT_VOL0_BECOMES_VIRTUAL 0x00000080 /* All platforms - Any sounds that are 0 volume will go virtual and not be processed except fo r having their positions updated virtually. Use System::setAdvancedSetting s to adjust what volume besides zero to switch to virtual at. */ #define FMOD_INIT_VOL0_BECOMES_VIRTUAL 0x00000080 /* All platforms - Any sounds that are 0 volume will go virtual and not be processed except fo r having their positions updated virtually. Use System::setAdvancedSetting s to adjust what volume besides zero to switch to virtual at. */
#define FMOD_INIT_WASAPI_EXCLUSIVE 0x00000100 /* Win32 Vista only - for WASAPI output - Enable exclusive access to hardware, lower latency a t the expense of excluding other applications from accessing the audio hard ware. */ #define FMOD_INIT_WASAPI_EXCLUSIVE 0x00000100 /* Win32 Vista only - for WASAPI output - Enable exclusive access to hardware, lower latency a t the expense of excluding other applications from accessing the audio hard ware. */
#define FMOD_INIT_PS3_PREFERDTS 0x00800000 /* PS3 only - Prefe r DTS over Dolby Digital if both are supported. Note: 8 and 6 channel LPCM is always preferred over both DTS and Dolby Digital. */ #define FMOD_INIT_PS3_PREFERDTS 0x00800000 /* PS3 only - Prefe r DTS over Dolby Digital if both are supported. Note: 8 and 6 channel LPCM is always preferred over both DTS and Dolby Digital. */
#define FMOD_INIT_PS3_FORCE2CHLPCM 0x01000000 /* PS3 only - Force PS3 system output mode to 2 channel LPCM. */ #define FMOD_INIT_PS3_FORCE2CHLPCM 0x01000000 /* PS3 only - Force PS3 system output mode to 2 channel LPCM. */
#define FMOD_INIT_DISABLEDOLBY 0x00100000 /* Wii / 3DS - Disa ble Dolby Pro Logic surround. Speakermode will be set to STEREO even if use r has selected surround in the system settings. */ #define FMOD_INIT_DISABLEDOLBY 0x00100000 /* Wii / 3DS - Disa ble Dolby Pro Logic surround. Speakermode will be set to STEREO even if use r has selected surround in the system settings. */
#define FMOD_INIT_SYSTEM_MUSICMUTENOTPAUSE 0x00200000 /* Xbox 360 / PS3 - The "music" channelgroup which by default pauses when custom 360 dashboard / PS3 BGM music is played, can be changed to mute (therefore continues pla ying) instead of pausing, by using this flag. */ #define FMOD_INIT_SYSTEM_MUSICMUTENOTPAUSE 0x00200000 /* Xbox 360 / PS3 - The "music" channelgroup which by default pauses when custom 360 dashboard / PS3 BGM music is played, can be changed to mute (therefore continues pla ying) instead of pausing, by using this flag. */
#define FMOD_INIT_SYNCMIXERWITHUPDATE 0x00400000 /* Win32/Wii/PS3/Xb ox/Xbox 360 - FMOD Mixer thread is woken up to do a mix when System::update is called rather than waking periodically on its own timer. */ #define FMOD_INIT_SYNCMIXERWITHUPDATE 0x00400000 /* Win32/Wii/PS3/Xb ox/Xbox 360 - FMOD Mixer thread is woken up to do a mix when System::update is called rather than waking periodically on its own timer. */
#define FMOD_INIT_GEOMETRY_USECLOSEST 0x04000000 /* All platforms - With the geometry engine, only process the closest polygon rather than accu mulating all polygons the sound to listener line intersects. */ #define FMOD_INIT_GEOMETRY_USECLOSEST 0x04000000 /* All platforms - With the geometry engine, only process the closest polygon rather than accu mulating all polygons the sound to listener line intersects. */
skipping to change at line 883 skipping to change at line 884
#define FMOD_MPEGSEARCH 0x00008000 /* For corrupted / bad M P3 files. This will search all the way through the file until it hits a va lid MPEG header. Normally only searches for 4k. */ #define FMOD_MPEGSEARCH 0x00008000 /* For corrupted / bad M P3 files. This will search all the way through the file until it hits a va lid MPEG header. Normally only searches for 4k. */
#define FMOD_NONBLOCKING 0x00010000 /* For opening sounds an d getting streamed subsounds (seeking) asyncronously. Use Sound::getOpenSt ate to poll the state of the sound as it opens or retrieves the subsound in the background. */ #define FMOD_NONBLOCKING 0x00010000 /* For opening sounds an d getting streamed subsounds (seeking) asyncronously. Use Sound::getOpenSt ate to poll the state of the sound as it opens or retrieves the subsound in the background. */
#define FMOD_UNIQUE 0x00020000 /* Unique sound, can onl y be played one at a time */ #define FMOD_UNIQUE 0x00020000 /* Unique sound, can onl y be played one at a time */
#define FMOD_3D_HEADRELATIVE 0x00040000 /* Make the sound's posi tion, velocity and orientation relative to the listener. */ #define FMOD_3D_HEADRELATIVE 0x00040000 /* Make the sound's posi tion, velocity and orientation relative to the listener. */
#define FMOD_3D_WORLDRELATIVE 0x00080000 /* Make the sound's posi tion, velocity and orientation absolute (relative to the world). (DEFAULT) */ #define FMOD_3D_WORLDRELATIVE 0x00080000 /* Make the sound's posi tion, velocity and orientation absolute (relative to the world). (DEFAULT) */
#define FMOD_3D_INVERSEROLLOFF 0x00100000 /* This sound will follo w the inverse rolloff model where mindistance = full volume, maxdistance = where sound stops attenuating, and rolloff is fixed according to the global rolloff factor. (DEFAULT) */ #define FMOD_3D_INVERSEROLLOFF 0x00100000 /* This sound will follo w the inverse rolloff model where mindistance = full volume, maxdistance = where sound stops attenuating, and rolloff is fixed according to the global rolloff factor. (DEFAULT) */
#define FMOD_3D_LINEARROLLOFF 0x00200000 /* This sound will follo w a linear rolloff model where mindistance = full volume, maxdistance = sil ence. Rolloffscale is ignored. */ #define FMOD_3D_LINEARROLLOFF 0x00200000 /* This sound will follo w a linear rolloff model where mindistance = full volume, maxdistance = sil ence. Rolloffscale is ignored. */
#define FMOD_3D_LINEARSQUAREROLLOFF 0x00400000 /* This sound will follo w a linear-square rolloff model where mindistance = full volume, maxdistanc e = silence. Rolloffscale is ignored. */ #define FMOD_3D_LINEARSQUAREROLLOFF 0x00400000 /* This sound will follo w a linear-square rolloff model where mindistance = full volume, maxdistanc e = silence. Rolloffscale is ignored. */
#define FMOD_3D_CUSTOMROLLOFF 0x04000000 /* This sound will follo w a rolloff model defined by Sound::set3DCustomRolloff / Channel::set3DCust omRolloff. */ #define FMOD_3D_CUSTOMROLLOFF 0x04000000 /* This sound will follo w a rolloff model defined by Sound::set3DCustomRolloff / Channel::set3DCust omRolloff. */
#define FMOD_3D_IGNOREGEOMETRY 0x40000000 /* Is not affect by geom etry occlusion. If not specified in Sound::setMode, or Channel::setMode, t he flag is cleared and it is affected by geometry again. */ #define FMOD_3D_IGNOREGEOMETRY 0x40000000 /* Is not affect by geom etry occlusion. If not specified in Sound::setMode, or Channel::setMode, t he flag is cleared and it is affected by geometry again. */
#define FMOD_REVERB_DISABLE 0x00800000 /* Prevent reverb from b eing applied to this sound. Only relevant for FMOD_SOFTWARE based sounds. */ #define FMOD_REVERB_CHANNEL_DISABLE 0x00800000 /* Prevent reverb from b eing attached to the channels playing this sound. Only relevant for FMOD_S OFTWARE based sounds. */
#define FMOD_UNICODE 0x01000000 /* Filename is double-by te unicode. */ #define FMOD_UNICODE 0x01000000 /* Filename is double-by te unicode. */
#define FMOD_IGNORETAGS 0x02000000 /* Skips id3v2/asf/etc t ag checks when opening a sound, to reduce seek/read overhead when opening f iles (helps with CD performance). */ #define FMOD_IGNORETAGS 0x02000000 /* Skips id3v2/asf/etc t ag checks when opening a sound, to reduce seek/read overhead when opening f iles (helps with CD performance). */
#define FMOD_LOWMEM 0x08000000 /* Removes some features from samples to give a lower memory overhead, like Sound::getName. See re marks. */ #define FMOD_LOWMEM 0x08000000 /* Removes some features from samples to give a lower memory overhead, like Sound::getName. See re marks. */
#define FMOD_LOADSECONDARYRAM 0x20000000 /* Load sound into the s econdary RAM of supported platform. On PS3, sounds will be loaded into RSX/ VRAM. */ #define FMOD_LOADSECONDARYRAM 0x20000000 /* Load sound into the s econdary RAM of supported platform. On PS3, sounds will be loaded into RSX/ VRAM. */
#define FMOD_VIRTUAL_PLAYFROMSTART 0x80000000 /* For sounds that start virtual (due to being quiet or low importance), instead of swapping back t o audible, and playing at the correct offset according to time, this flag m akes the sound play from the start. */ #define FMOD_VIRTUAL_PLAYFROMSTART 0x80000000 /* For sounds that start virtual (due to being quiet or low importance), instead of swapping back t o audible, and playing at the correct offset according to time, this flag m akes the sound play from the start. */
/* [DEFINE_END] */ /* [DEFINE_END] */
/* /*
[ENUM] [ENUM]
skipping to change at line 1753 skipping to change at line 1754
float HRTFMaxAngle; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD_INIT_SOFTWARE_HRTF. The angle range (0-360) of a 3D sound in relation to the listener, at which the HRTF function has maximum effect. 0 = front of the listener. 180 = from 90 degrees to the lef t of the listener to 90 degrees to the right. 360 = behind the listener. De fault = 360.0. */ float HRTFMaxAngle; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD_INIT_SOFTWARE_HRTF. The angle range (0-360) of a 3D sound in relation to the listener, at which the HRTF function has maximum effect. 0 = front of the listener. 180 = from 90 degrees to the lef t of the listener to 90 degrees to the right. 360 = behind the listener. De fault = 360.0. */
float HRTFFreq; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD_INIT_SOFTWARE_HRTF. The cutoff frequency of the HRTF's lowpass filter function when at maximum effect. (i.e. at HRTFMa xAngle). Default = 4000.0. */ float HRTFFreq; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD_INIT_SOFTWARE_HRTF. The cutoff frequency of the HRTF's lowpass filter function when at maximum effect. (i.e. at HRTFMa xAngle). Default = 4000.0. */
float vol0virtualvol; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD_INIT_VOL0_BECOMES_VIRTUAL. If this flag is used, and the volume is 0.0, then the sound will become virtual. Use this value to raise the threshold to a different point where a sound goes virtua l. */ float vol0virtualvol; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD_INIT_VOL0_BECOMES_VIRTUAL. If this flag is used, and the volume is 0.0, then the sound will become virtual. Use this value to raise the threshold to a different point where a sound goes virtua l. */
int eventqueuesize; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD Event system only. Specifies the number of slots available for simultaneous non blocking loads, across all threads. D efault = 64. */ int eventqueuesize; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD Event system only. Specifies the number of slots available for simultaneous non blocking loads, across all threads. D efault = 64. */
unsigned int defaultDecodeBufferSize; /* [r/w] Optional. Specify 0 to ignore. For streams. This determines the default size of the double bu ffer (in milliseconds) that a stream uses. Default = 400ms */ unsigned int defaultDecodeBufferSize; /* [r/w] Optional. Specify 0 to ignore. For streams. This determines the default size of the double bu ffer (in milliseconds) that a stream uses. Default = 400ms */
char *debugLogFilename; /* [r/w] Optional. Specify 0 to ignore. Gives fmod's logging system a path/filename. Normally the log is placed in the same directory as the executable and called fmod.log. Whe n using System::getAdvancedSettings, provide at least 256 bytes of memory t o copy into. */ char *debugLogFilename; /* [r/w] Optional. Specify 0 to ignore. Gives fmod's logging system a path/filename. Normally the log is placed in the same directory as the executable and called fmod.log. Whe n using System::getAdvancedSettings, provide at least 256 bytes of memory t o copy into. */
unsigned short profileport; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD_INIT_ENABLE_PROFILE. Specify the port to li sten on for connections by the profiler application. */ unsigned short profileport; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD_INIT_ENABLE_PROFILE. Specify the port to li sten on for connections by the profiler application. */
unsigned int geometryMaxFadeTime; /* [r/w] Optional. Specify 0 to ignore. The maximum time in miliseconds it takes for a channel to fade to the new level when its occlusion changes. */ unsigned int geometryMaxFadeTime; /* [r/w] Optional. Specify 0 to ignore. The maximum time in miliseconds it takes for a channel to fade to the new level when its occlusion changes. */
unsigned int maxSpectrumWaveDataBuffers; /* [r/w] Optional. Specify 0 to ignore. Tells System::init to allocate a pool of wavedata/spectrum buf fers to prevent memory fragmentation, any additional buffers will be alloca ted normally. */ unsigned int maxSpectrumWaveDataBuffers; /* [r/w] Optional. Specify 0 to ignore. Tells System::init to allocate a pool of wavedata/spectrum buf fers to prevent memory fragmentation, any additional buffers will be alloca ted normally. */
unsigned int musicSystemCacheDelay; /* [r/w] Optional. Specify 0 to ignore. The delay the music system should allow for loading a sample f rom disk (in milliseconds). Default = 400 ms. */ unsigned int musicSystemCacheDelay; /* [r/w] Optional. Specify 0 to ignore. The delay the music system should allow for loading a sample f rom disk (in milliseconds). Default = 400 ms. */
float distanceFilterCentreFreq; /* [r/w] Optional. Specify 0 to ignore. For use with FMOD_INIT_DISTANCE_FILTERING. The default centre frequency in Hz for the distance filtering effect. Default = 1500.0. */
} FMOD_ADVANCEDSETTINGS; } FMOD_ADVANCEDSETTINGS;
/* /*
[ENUM] [ENUM]
[ [
[DESCRIPTION] [DESCRIPTION]
Special channel index values for FMOD functions. Special channel index values for FMOD functions.
[REMARKS] [REMARKS]
To get 'all' of the channels, use System::getMasterChannelGroup. To get 'all' of the channels, use System::getMasterChannelGroup.
skipping to change at line 2118 skipping to change at line 2120
FMOD_RESULT F_API FMOD_Channel_Set3DCustomRolloff (FMOD_CHANNEL *channel , FMOD_VECTOR *points, int numpoints); FMOD_RESULT F_API FMOD_Channel_Set3DCustomRolloff (FMOD_CHANNEL *channel , FMOD_VECTOR *points, int numpoints);
FMOD_RESULT F_API FMOD_Channel_Get3DCustomRolloff (FMOD_CHANNEL *channel , FMOD_VECTOR **points, int *numpoints); FMOD_RESULT F_API FMOD_Channel_Get3DCustomRolloff (FMOD_CHANNEL *channel , FMOD_VECTOR **points, int *numpoints);
FMOD_RESULT F_API FMOD_Channel_Set3DOcclusion (FMOD_CHANNEL *channel , float directocclusion, float reverbocclusion); FMOD_RESULT F_API FMOD_Channel_Set3DOcclusion (FMOD_CHANNEL *channel , float directocclusion, float reverbocclusion);
FMOD_RESULT F_API FMOD_Channel_Get3DOcclusion (FMOD_CHANNEL *channel , float *directocclusion, float *reverbocclusion); FMOD_RESULT F_API FMOD_Channel_Get3DOcclusion (FMOD_CHANNEL *channel , float *directocclusion, float *reverbocclusion);
FMOD_RESULT F_API FMOD_Channel_Set3DSpread (FMOD_CHANNEL *channel , float angle); FMOD_RESULT F_API FMOD_Channel_Set3DSpread (FMOD_CHANNEL *channel , float angle);
FMOD_RESULT F_API FMOD_Channel_Get3DSpread (FMOD_CHANNEL *channel , float *angle); FMOD_RESULT F_API FMOD_Channel_Get3DSpread (FMOD_CHANNEL *channel , float *angle);
FMOD_RESULT F_API FMOD_Channel_Set3DPanLevel (FMOD_CHANNEL *channel , float level); FMOD_RESULT F_API FMOD_Channel_Set3DPanLevel (FMOD_CHANNEL *channel , float level);
FMOD_RESULT F_API FMOD_Channel_Get3DPanLevel (FMOD_CHANNEL *channel , float *level); FMOD_RESULT F_API FMOD_Channel_Get3DPanLevel (FMOD_CHANNEL *channel , float *level);
FMOD_RESULT F_API FMOD_Channel_Set3DDopplerLevel (FMOD_CHANNEL *channel , float level); FMOD_RESULT F_API FMOD_Channel_Set3DDopplerLevel (FMOD_CHANNEL *channel , float level);
FMOD_RESULT F_API FMOD_Channel_Get3DDopplerLevel (FMOD_CHANNEL *channel , float *level); FMOD_RESULT F_API FMOD_Channel_Get3DDopplerLevel (FMOD_CHANNEL *channel , float *level);
FMOD_RESULT F_API FMOD_Channel_Set3DDistanceFilter (FMOD_CHANNEL *channel
, FMOD_BOOL custom, float customLevel, float centerFreq);
FMOD_RESULT F_API FMOD_Channel_Get3DDistanceFilter (FMOD_CHANNEL *channel
, FMOD_BOOL *custom, float *customLevel, float *centerFreq);
/* /*
DSP functionality only for channels playing sounds created with FMOD_S OFTWARE. DSP functionality only for channels playing sounds created with FMOD_S OFTWARE.
*/ */
FMOD_RESULT F_API FMOD_Channel_GetDSPHead (FMOD_CHANNEL *channel , FMOD_DSP **dsp); FMOD_RESULT F_API FMOD_Channel_GetDSPHead (FMOD_CHANNEL *channel , FMOD_DSP **dsp);
FMOD_RESULT F_API FMOD_Channel_AddDSP (FMOD_CHANNEL *channel , FMOD_DSP *dsp, FMOD_DSPCONNECTION **connection); FMOD_RESULT F_API FMOD_Channel_AddDSP (FMOD_CHANNEL *channel , FMOD_DSP *dsp, FMOD_DSPCONNECTION **connection);
/* /*
Information only functions. Information only functions.
skipping to change at line 2179 skipping to change at line 2183
FMOD_RESULT F_API FMOD_ChannelGroup_SetVolume (FMOD_CHANNELGROUP *ch annelgroup, float volume); FMOD_RESULT F_API FMOD_ChannelGroup_SetVolume (FMOD_CHANNELGROUP *ch annelgroup, float volume);
FMOD_RESULT F_API FMOD_ChannelGroup_GetVolume (FMOD_CHANNELGROUP *ch annelgroup, float *volume); FMOD_RESULT F_API FMOD_ChannelGroup_GetVolume (FMOD_CHANNELGROUP *ch annelgroup, float *volume);
FMOD_RESULT F_API FMOD_ChannelGroup_SetPitch (FMOD_CHANNELGROUP *ch annelgroup, float pitch); FMOD_RESULT F_API FMOD_ChannelGroup_SetPitch (FMOD_CHANNELGROUP *ch annelgroup, float pitch);
FMOD_RESULT F_API FMOD_ChannelGroup_GetPitch (FMOD_CHANNELGROUP *ch annelgroup, float *pitch); FMOD_RESULT F_API FMOD_ChannelGroup_GetPitch (FMOD_CHANNELGROUP *ch annelgroup, float *pitch);
FMOD_RESULT F_API FMOD_ChannelGroup_Set3DOcclusion (FMOD_CHANNELGROUP *ch annelgroup, float directocclusion, float reverbocclusion); FMOD_RESULT F_API FMOD_ChannelGroup_Set3DOcclusion (FMOD_CHANNELGROUP *ch annelgroup, float directocclusion, float reverbocclusion);
FMOD_RESULT F_API FMOD_ChannelGroup_Get3DOcclusion (FMOD_CHANNELGROUP *ch annelgroup, float *directocclusion, float *reverbocclusion); FMOD_RESULT F_API FMOD_ChannelGroup_Get3DOcclusion (FMOD_CHANNELGROUP *ch annelgroup, float *directocclusion, float *reverbocclusion);
FMOD_RESULT F_API FMOD_ChannelGroup_SetPaused (FMOD_CHANNELGROUP *ch annelgroup, FMOD_BOOL paused); FMOD_RESULT F_API FMOD_ChannelGroup_SetPaused (FMOD_CHANNELGROUP *ch annelgroup, FMOD_BOOL paused);
FMOD_RESULT F_API FMOD_ChannelGroup_GetPaused (FMOD_CHANNELGROUP *ch annelgroup, FMOD_BOOL *paused); FMOD_RESULT F_API FMOD_ChannelGroup_GetPaused (FMOD_CHANNELGROUP *ch annelgroup, FMOD_BOOL *paused);
FMOD_RESULT F_API FMOD_ChannelGroup_SetMute (FMOD_CHANNELGROUP *ch annelgroup, FMOD_BOOL mute); FMOD_RESULT F_API FMOD_ChannelGroup_SetMute (FMOD_CHANNELGROUP *ch annelgroup, FMOD_BOOL mute);
FMOD_RESULT F_API FMOD_ChannelGroup_GetMute (FMOD_CHANNELGROUP *ch annelgroup, FMOD_BOOL *mute); FMOD_RESULT F_API FMOD_ChannelGroup_GetMute (FMOD_CHANNELGROUP *ch annelgroup, FMOD_BOOL *mute);
FMOD_RESULT F_API FMOD_ChannelGroup_SetReverbProperties(FMOD_CHANNELGROUP *
channelgroup, const FMOD_REVERB_CHANNELPROPERTIES *prop);
FMOD_RESULT F_API FMOD_ChannelGroup_GetReverbProperties(FMOD_CHANNELGROUP *
channelgroup, FMOD_REVERB_CHANNELPROPERTIES *prop);
/* /*
Channelgroup override values. (recursively overwrites whatever settin gs the channels had) Channelgroup override values. (recursively overwrites whatever settin gs the channels had)
*/ */
FMOD_RESULT F_API FMOD_ChannelGroup_Stop (FMOD_CHANNELGROUP *ch annelgroup); FMOD_RESULT F_API FMOD_ChannelGroup_Stop (FMOD_CHANNELGROUP *ch annelgroup);
FMOD_RESULT F_API FMOD_ChannelGroup_OverrideVolume (FMOD_CHANNELGROUP *ch annelgroup, float volume); FMOD_RESULT F_API FMOD_ChannelGroup_OverrideVolume (FMOD_CHANNELGROUP *ch annelgroup, float volume);
FMOD_RESULT F_API FMOD_ChannelGroup_OverrideFrequency(FMOD_CHANNELGROUP *ch annelgroup, float frequency); FMOD_RESULT F_API FMOD_ChannelGroup_OverrideFrequency(FMOD_CHANNELGROUP *ch annelgroup, float frequency);
FMOD_RESULT F_API FMOD_ChannelGroup_OverridePan (FMOD_CHANNELGROUP *ch annelgroup, float pan); FMOD_RESULT F_API FMOD_ChannelGroup_OverridePan (FMOD_CHANNELGROUP *ch annelgroup, float pan);
FMOD_RESULT F_API FMOD_ChannelGroup_OverrideReverbProperties(FMOD_CHANNELGR OUP *channelgroup, const FMOD_REVERB_CHANNELPROPERTIES *prop); FMOD_RESULT F_API FMOD_ChannelGroup_OverrideReverbProperties(FMOD_CHANNELGR OUP *channelgroup, const FMOD_REVERB_CHANNELPROPERTIES *prop);
 End of changes. 7 change blocks. 
3 lines changed or deleted 13 lines changed or added


 fmod_errors.h   fmod_errors.h 
skipping to change at line 108 skipping to change at line 108
case FMOD_ERR_OUTPUT_NOHARDWARE: return "FMOD_HARDWARE was spe cified but the sound card does not have the resources necessary to play it. "; case FMOD_ERR_OUTPUT_NOHARDWARE: return "FMOD_HARDWARE was spe cified but the sound card does not have the resources necessary to play it. ";
case FMOD_ERR_OUTPUT_NOSOFTWARE: return "Attempted to create a software sound but no software channels were specified in System::init. "; case FMOD_ERR_OUTPUT_NOSOFTWARE: return "Attempted to create a software sound but no software channels were specified in System::init. ";
case FMOD_ERR_PAN: return "Panning only works wi th mono or stereo sound sources. "; case FMOD_ERR_PAN: return "Panning only works wi th mono or stereo sound sources. ";
case FMOD_ERR_PLUGIN: return "An unspecified error has been returned from a 3rd party plugin. "; case FMOD_ERR_PLUGIN: return "An unspecified error has been returned from a 3rd party plugin. ";
case FMOD_ERR_PLUGIN_INSTANCES: return "The number of allowed instances of a plugin has been exceeded. "; case FMOD_ERR_PLUGIN_INSTANCES: return "The number of allowed instances of a plugin has been exceeded. ";
case FMOD_ERR_PLUGIN_MISSING: return "A requested output, d sp unit type or codec was not available. "; case FMOD_ERR_PLUGIN_MISSING: return "A requested output, d sp unit type or codec was not available. ";
case FMOD_ERR_PLUGIN_RESOURCE: return "A resource that the p lugin requires cannot be found. (ie the DLS file for MIDI playback) "; case FMOD_ERR_PLUGIN_RESOURCE: return "A resource that the p lugin requires cannot be found. (ie the DLS file for MIDI playback) ";
case FMOD_ERR_PRELOADED: return "The specified sound i s still in use by the event system, call EventSystem::unloadFSB before tryi ng to release it. "; case FMOD_ERR_PRELOADED: return "The specified sound i s still in use by the event system, call EventSystem::unloadFSB before tryi ng to release it. ";
case FMOD_ERR_PROGRAMMERSOUND: return "The specified sound i s still in use by the event system, wait for the event which is using it fi nish with it. "; case FMOD_ERR_PROGRAMMERSOUND: return "The specified sound i s still in use by the event system, wait for the event which is using it fi nish with it. ";
case FMOD_ERR_RECORD: return "An error occured tryi ng to initialize the recording device. "; case FMOD_ERR_RECORD: return "An error occured tryi ng to initialize the recording device. ";
case FMOD_ERR_REVERB_INSTANCE: return "Specified Instance in FMOD_REVERB_PROPERTIES couldn't be set. Most likely because it is an inval id instance number. "; case FMOD_ERR_REVERB_INSTANCE: return "Specified instance in FMOD_REVERB_PROPERTIES couldn't be set. Most likely because it is an inval id instance number or the reverb doesnt exist. ";
case FMOD_ERR_SUBSOUNDS: return "The error occured bec ause the sound referenced contains subsounds when it shouldn't have, or it doesn't contain subsounds when it should have. The operation may also not be able to be performed on a parent sound, or a parent sound was played wit hout setting up a sentence first. "; case FMOD_ERR_SUBSOUNDS: return "The error occured bec ause the sound referenced contains subsounds when it shouldn't have, or it doesn't contain subsounds when it should have. The operation may also not be able to be performed on a parent sound, or a parent sound was played wit hout setting up a sentence first. ";
case FMOD_ERR_SUBSOUND_ALLOCATED: return "This subsound is alre ady being used by another sound, you cannot have more than one parent to a sound. Null out the other parent's entry first. "; case FMOD_ERR_SUBSOUND_ALLOCATED: return "This subsound is alre ady being used by another sound, you cannot have more than one parent to a sound. Null out the other parent's entry first. ";
case FMOD_ERR_SUBSOUND_CANTMOVE: return "Shared subsounds cann ot be replaced or moved from their parent stream, such as when the parent s tream is an FSB file. "; case FMOD_ERR_SUBSOUND_CANTMOVE: return "Shared subsounds cann ot be replaced or moved from their parent stream, such as when the parent s tream is an FSB file. ";
case FMOD_ERR_SUBSOUND_MODE: return "The subsound's mode b its do not match with the parent sound's mode bits. See documentation for function that it was called with. "; case FMOD_ERR_SUBSOUND_MODE: return "The subsound's mode b its do not match with the parent sound's mode bits. See documentation for function that it was called with. ";
case FMOD_ERR_TAGNOTFOUND: return "The specified tag cou ld not be found or there are no tags. "; case FMOD_ERR_TAGNOTFOUND: return "The specified tag cou ld not be found or there are no tags. ";
case FMOD_ERR_TOOMANYCHANNELS: return "The sound created exc eeds the allowable input channel count. This can be increased using the ma xinputchannels parameter in System::setSoftwareFormat. "; case FMOD_ERR_TOOMANYCHANNELS: return "The sound created exc eeds the allowable input channel count. This can be increased using the ma xinputchannels parameter in System::setSoftwareFormat. ";
case FMOD_ERR_UNIMPLEMENTED: return "Something in FMOD has n't been implemented when it should be! contact support! "; case FMOD_ERR_UNIMPLEMENTED: return "Something in FMOD has n't been implemented when it should be! contact support! ";
case FMOD_ERR_UNINITIALIZED: return "This command failed b ecause System::init or System::setDriver was not called. "; case FMOD_ERR_UNINITIALIZED: return "This command failed b ecause System::init or System::setDriver was not called. ";
case FMOD_ERR_UNSUPPORTED: return "A command issued was not supported by this object. Possibly a plugin without certain callbacks specified. "; case FMOD_ERR_UNSUPPORTED: return "A command issued was not supported by this object. Possibly a plugin without certain callbacks specified. ";
case FMOD_ERR_UPDATE: return "An error caused by Sy stem::update occured. "; case FMOD_ERR_UPDATE: return "An error caused by Sy stem::update occured. ";
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added


 fmod_event.h   fmod_event.h 
skipping to change at line 24 skipping to change at line 24
#ifndef _FMOD_H #ifndef _FMOD_H
#include "fmod.h" #include "fmod.h"
#endif #endif
/* /*
FMOD EventSystem version number. Check this against FMOD::EventSystem: :getVersion. FMOD EventSystem version number. Check this against FMOD::EventSystem: :getVersion.
0xaaaabbcc -> aaaa = major version number. bb = minor version number. cc = development version number. 0xaaaabbcc -> aaaa = major version number. bb = minor version number. cc = development version number.
*/ */
#define FMOD_EVENT_VERSION 0x00043504 #define FMOD_EVENT_VERSION 0x00043505
/* /*
FMOD event types FMOD event types
*/ */
typedef struct FMOD_EVENTSYSTEM FMOD_EVENTSYSTEM; typedef struct FMOD_EVENTSYSTEM FMOD_EVENTSYSTEM;
typedef struct FMOD_EVENTPROJECT FMOD_EVENTPROJECT; typedef struct FMOD_EVENTPROJECT FMOD_EVENTPROJECT;
typedef struct FMOD_EVENTGROUP FMOD_EVENTGROUP; typedef struct FMOD_EVENTGROUP FMOD_EVENTGROUP;
typedef struct FMOD_EVENTCATEGORY FMOD_EVENTCATEGORY; typedef struct FMOD_EVENTCATEGORY FMOD_EVENTCATEGORY;
typedef struct FMOD_EVENT FMOD_EVENT; typedef struct FMOD_EVENT FMOD_EVENT;
skipping to change at line 217 skipping to change at line 217
FMOD_EVENTPROPERTY_SPAWNINTENSITY_RANDOMIZATION, /* Type : float - Random deviation in spawn intensity of event. */ FMOD_EVENTPROPERTY_SPAWNINTENSITY_RANDOMIZATION, /* Type : float - Random deviation in spawn intensity of event. */
FMOD_EVENTPROPERTY_WII_CONTROLLERSPEAKERS, /* Type : int - Wii only. Use FMOD_WII_CONTROLLER flags defined in fmodwii.h to set whic h Wii Controller Speaker(s) to play this event on. */ FMOD_EVENTPROPERTY_WII_CONTROLLERSPEAKERS, /* Type : int - Wii only. Use FMOD_WII_CONTROLLER flags defined in fmodwii.h to set whic h Wii Controller Speaker(s) to play this event on. */
FMOD_EVENTPROPERTY_3D_POSRANDOMIZATION_MIN, /* Type : unsign ed int - Minimum radius of random deviation in the 3D position of event. */ FMOD_EVENTPROPERTY_3D_POSRANDOMIZATION_MIN, /* Type : unsign ed int - Minimum radius of random deviation in the 3D position of event. */
FMOD_EVENTPROPERTY_3D_POSRANDOMIZATION_MAX, /* Type : unsign ed int - Maximum radius of random deviation in the 3D position of event. */ FMOD_EVENTPROPERTY_3D_POSRANDOMIZATION_MAX, /* Type : unsign ed int - Maximum radius of random deviation in the 3D position of event. */
FMOD_EVENTPROPERTY_EVENTTYPE, /* Type : int - (<b>Readonly</b>) 0 = simple event, 1 = complex event */ FMOD_EVENTPROPERTY_EVENTTYPE, /* Type : int - (<b>Readonly</b>) 0 = simple event, 1 = complex event */
FMOD_EVENTPROPERTY_STEAL_PRIORITY, /* Type : int - 0 to 10000. How important this event is in relation to other events in the project. This event will never steal an event with a higher steal prior ity than this. */ FMOD_EVENTPROPERTY_STEAL_PRIORITY, /* Type : int - 0 to 10000. How important this event is in relation to other events in the project. This event will never steal an event with a higher steal prior ity than this. */
FMOD_EVENTPROPERTY_EFFECTS_AFFECT_REVERB, /* Type : int - 0 = default (no), 1 = yes. Alternate routing for reverb path of an even t so it goes from the layer dsp unit instead of the channel. */ FMOD_EVENTPROPERTY_EFFECTS_AFFECT_REVERB, /* Type : int - 0 = default (no), 1 = yes. Alternate routing for reverb path of an even t so it goes from the layer dsp unit instead of the channel. */
FMOD_EVENTPROPERTY_WILL_TERMINATE, /* Type : int - (<b>Readonly</b>) 0 = no, 1 = yes, 2 = unknown (current event state is t oo complex). Whether this event will terminate (stop playing) by itself. I f called on an event instance with this_instance = true, the prediction is based on the current state of that instance. This means parameter values, k eyoffs etc. come into play. */ FMOD_EVENTPROPERTY_WILL_TERMINATE, /* Type : int - (<b>Readonly</b>) 0 = no, 1 = yes, 2 = unknown (current event state is t oo complex). Whether this event will terminate (stop playing) by itself. I f called on an event instance with this_instance = true, the prediction is based on the current state of that instance. This means parameter values, k eyoffs etc. come into play. */
FMOD_EVENTPROPERTY_DSPCLOCKSTART_HI, /* Type : unsigned int - High 32 bits of a 64 bit DSP clock value, for a start time for any so und in this event. */ FMOD_EVENTPROPERTY_DSPCLOCKSTART_HI, /* Type : unsigned int - High 32 bits of a 64 bit DSP clock value, for a start time for any so und in this event. */
FMOD_EVENTPROPERTY_DSPCLOCKSTART_LO, /* Type : unsigned int - Low 32 bits of a 64 bit DSP clock value, for a start time for any sou nd in this event. */ FMOD_EVENTPROPERTY_DSPCLOCKSTART_LO, /* Type : unsigned int - Low 32 bits of a 64 bit DSP clock value, for a start time for any sou nd in this event. */
FMOD_EVENTPROPERTY_3D_AUTO_DISTANCE_FILTERING, /* Type : int
- 0 = default (no), 1 = yes. Whether to automaically apply the distance ef
fect to sounds in this event. */
FMOD_EVENTPROPERTY_3D_AUTO_DISTANCE_CENTRE_FREQ, /* Type : float
- 10 to 22050. The centre frequency for the distance effect.*/
FMOD_EVENTPROPERTY_USER_BASE /* User created eve nts start from here onwards. */ FMOD_EVENTPROPERTY_USER_BASE /* User created eve nts start from here onwards. */
} FMOD_EVENT_PROPERTY; } FMOD_EVENT_PROPERTY;
/* /*
[ENUM] [ENUM]
[ [
[DESCRIPTION] [DESCRIPTION]
Event property types. Event property types.
[REMARKS] [REMARKS]
 End of changes. 2 change blocks. 
1 lines changed or deleted 6 lines changed or added


 fmod_event_net.h   fmod_event_net.h 
skipping to change at line 21 skipping to change at line 21
#define __FMOD_EVENT_NET_H__ #define __FMOD_EVENT_NET_H__
#ifndef __FMOD_EVENT_H__ #ifndef __FMOD_EVENT_H__
#include "fmod_event.h" #include "fmod_event.h"
#endif #endif
/* /*
FMOD NetEventSystem version number. Check this against NetEventSystem_ GetVersion. FMOD NetEventSystem version number. Check this against NetEventSystem_ GetVersion.
0xaaaabbcc -> aaaa = major version number. bb = minor version number. cc = development version number. 0xaaaabbcc -> aaaa = major version number. bb = minor version number. cc = development version number.
*/ */
#define FMOD_EVENT_NET_VERSION 0x00043504 #define FMOD_EVENT_NET_VERSION 0x00043505
/* /*
Default port that the target (game) will listen on Default port that the target (game) will listen on
*/ */
#define FMOD_EVENT_NET_PORT 17997 #define FMOD_EVENT_NET_PORT 17997
#ifdef __cplusplus #ifdef __cplusplus
extern "C" extern "C"
{ {
#endif #endif
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/