| 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 0x00043308 | | #define FMOD_VERSION 0x00043309 | |
| | | | |
| /* | | /* | |
| 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 373 | | skipping to change at line 373 | |
| FMOD_OUTPUTTYPE_ALSA, /* Linux/Linux64 - Advanced Li
nux Sound Architecture output. */ | | FMOD_OUTPUTTYPE_ALSA, /* Linux/Linux64 - Advanced Li
nux Sound Architecture output. */ | |
| FMOD_OUTPUTTYPE_ESD, /* Linux/Linux64 - Enlightment
Sound Daemon output. */ | | FMOD_OUTPUTTYPE_ESD, /* Linux/Linux64 - Enlightment
Sound Daemon output. */ | |
| FMOD_OUTPUTTYPE_PULSEAUDIO, /* Linux/Linux64 - PulseAudio
output. */ | | FMOD_OUTPUTTYPE_PULSEAUDIO, /* Linux/Linux64 - PulseAudio
output. */ | |
| FMOD_OUTPUTTYPE_COREAUDIO, /* Mac - Macintosh C
oreAudio output. (Default on Mac) */ | | FMOD_OUTPUTTYPE_COREAUDIO, /* Mac - Macintosh C
oreAudio output. (Default on Mac) */ | |
| FMOD_OUTPUTTYPE_PS2, /* PS2 - Native hard
ware output. (Default on PS2) */ | | FMOD_OUTPUTTYPE_PS2, /* PS2 - Native hard
ware output. (Default on PS2) */ | |
| FMOD_OUTPUTTYPE_PS3, /* PS3 - Native hard
ware output. (Default on PS3) */ | | FMOD_OUTPUTTYPE_PS3, /* PS3 - Native hard
ware output. (Default on PS3) */ | |
| FMOD_OUTPUTTYPE_XBOX360, /* Xbox 360 - Native hard
ware output. (Default on Xbox 360) */ | | FMOD_OUTPUTTYPE_XBOX360, /* Xbox 360 - Native hard
ware output. (Default on Xbox 360) */ | |
| FMOD_OUTPUTTYPE_PSP, /* PSP - Native hard
ware output. (Default on PSP) */ | | FMOD_OUTPUTTYPE_PSP, /* PSP - Native hard
ware output. (Default on PSP) */ | |
| FMOD_OUTPUTTYPE_WII, /* Wii
- Native hardware output. (Default on Wii) */ | | FMOD_OUTPUTTYPE_WII, /* Wii
- Native hardware output. (Default on Wii) */ | |
| FMOD_OUTPUTTYPE_ANDROID, /* Android - Native andr
oid output. */ | | FMOD_OUTPUTTYPE_ANDROID, /* Android - Native andr
oid output. */ | |
|
| | | FMOD_OUTPUTTYPE_3DS, /* 3DS - Native 3DS
output */ | |
| | | | |
| FMOD_OUTPUTTYPE_MAX, /* Maximum number of output types supp
orted. */ | | FMOD_OUTPUTTYPE_MAX, /* Maximum number of output types supp
orted. */ | |
| FMOD_OUTPUTTYPE_FORCEINT = 65536 /* Makes sure this enum is signed 32bi
t. */ | | FMOD_OUTPUTTYPE_FORCEINT = 65536 /* Makes sure this enum is signed 32bi
t. */ | |
| } FMOD_OUTPUTTYPE; | | } FMOD_OUTPUTTYPE; | |
| | | | |
| /* | | /* | |
| [DEFINE] | | [DEFINE] | |
| [ | | [ | |
| [NAME] | | [NAME] | |
| FMOD_CAPS | | FMOD_CAPS | |
| | | | |
| skipping to change at line 719 | | skipping to change at line 720 | |
| #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_PS2_DISABLECORE0REVERB 0x00010000 /* PS2 only - Disab
le reverb on CORE 0 to regain 256k SRAM. */ | | #define FMOD_INIT_PS2_DISABLECORE0REVERB 0x00010000 /* PS2 only - Disab
le reverb on CORE 0 to regain 256k SRAM. */ | |
| #define FMOD_INIT_PS2_DISABLECORE1REVERB 0x00020000 /* PS2 only - Disab
le reverb on CORE 1 to regain 256k SRAM. */ | | #define FMOD_INIT_PS2_DISABLECORE1REVERB 0x00020000 /* PS2 only - Disab
le reverb on CORE 1 to regain 256k SRAM. */ | |
| #define FMOD_INIT_PS2_DONTUSESCRATCHPAD 0x00040000 /* PS2 only - Disab
le FMOD's usage of the scratchpad. */ | | #define FMOD_INIT_PS2_DONTUSESCRATCHPAD 0x00040000 /* PS2 only - Disab
le FMOD's usage of the scratchpad. */ | |
| #define FMOD_INIT_PS2_SWAPDMACHANNELS 0x00080000 /* PS2 only - Chang
es FMOD from using SPU DMA channel 0 for software mixing, and 1 for sound d
ata upload/file streaming, to 1 and 0 respectively. */ | | #define FMOD_INIT_PS2_SWAPDMACHANNELS 0x00080000 /* PS2 only - Chang
es FMOD from using SPU DMA channel 0 for software mixing, and 1 for sound d
ata upload/file streaming, to 1 and 0 respectively. */ | |
| #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_WII_DISABLEDOLBY 0x00100000 /* Wii only - Disab
le Dolby Pro Logic surround. Speakermode will be set to STEREO even if user
has selected surround in the Wii 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_DTS_NEURALSURROUND 0x02000000 /* Win32/Mac/Linux/
PS3/Xbox360 - Use DTS Neural surround downmixing from 7.1 if speakermode se
t to FMOD_SPEAKERMODE_STEREO or FMOD_SPEAKERMODE_5POINT1. Always 7.1 -> 5.1
downmix for Xbox360 and PS3. Internal DSP structure will be set to 7.1. *
/ | | #define FMOD_INIT_DTS_NEURALSURROUND 0x02000000 /* Win32/Mac/Linux/
PS3/Xbox360 - Use DTS Neural surround downmixing from 7.1 if speakermode se
t to FMOD_SPEAKERMODE_STEREO or FMOD_SPEAKERMODE_5POINT1. Always 7.1 -> 5.1
downmix for Xbox360 and PS3. Internal DSP structure will be set to 7.1. *
/ | |
| #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. */ | |
| #define FMOD_INIT_DISABLE_MYEARS 0x08000000 /* Win32 - Disables
MyEars HRTF 7.1 downmixing. MyEars will otherwise be disbaled if speakerm
ode is not set to FMOD_SPEAKERMODE_STEREO or the data file is missing. */ | | #define FMOD_INIT_DISABLE_MYEARS 0x08000000 /* Win32 - Disables
MyEars HRTF 7.1 downmixing. MyEars will otherwise be disbaled if speakerm
ode is not set to FMOD_SPEAKERMODE_STEREO or the data file is missing. */ | |
| /* [DEFINE_END] */ | | /* [DEFINE_END] */ | |
| | | | |
| /* | | /* | |
| [ENUM] | | [ENUM] | |
| [ | | [ | |
| | | | |
| skipping to change at line 770 | | skipping to change at line 771 | |
| FMOD_SOUND_TYPE_RAW, /* Raw PCM data. */ | | FMOD_SOUND_TYPE_RAW, /* Raw PCM data. */ | |
| FMOD_SOUND_TYPE_S3M, /* ScreamTracker 3. */ | | FMOD_SOUND_TYPE_S3M, /* ScreamTracker 3. */ | |
| FMOD_SOUND_TYPE_SF2, /* Sound font 2 format. */ | | FMOD_SOUND_TYPE_SF2, /* Sound font 2 format. */ | |
| FMOD_SOUND_TYPE_USER, /* User created sound. */ | | FMOD_SOUND_TYPE_USER, /* User created sound. */ | |
| FMOD_SOUND_TYPE_WAV, /* Microsoft WAV. */ | | FMOD_SOUND_TYPE_WAV, /* Microsoft WAV. */ | |
| FMOD_SOUND_TYPE_XM, /* FastTracker 2 XM. */ | | FMOD_SOUND_TYPE_XM, /* FastTracker 2 XM. */ | |
| FMOD_SOUND_TYPE_XMA, /* Xbox360 XMA */ | | FMOD_SOUND_TYPE_XMA, /* Xbox360 XMA */ | |
| FMOD_SOUND_TYPE_VAG, /* PlayStation 2 / PlayStation Portabl
e adpcm VAG format. */ | | FMOD_SOUND_TYPE_VAG, /* PlayStation 2 / PlayStation Portabl
e adpcm VAG format. */ | |
| FMOD_SOUND_TYPE_AUDIOQUEUE, /* iPhone hardware decoder, supports A
AC, ALAC and MP3. extracodecdata is a pointer to an FMOD_AUDIOQUEUE_EXTRACO
DECDATA structure. */ | | FMOD_SOUND_TYPE_AUDIOQUEUE, /* iPhone hardware decoder, supports A
AC, ALAC and MP3. extracodecdata is a pointer to an FMOD_AUDIOQUEUE_EXTRACO
DECDATA structure. */ | |
| FMOD_SOUND_TYPE_XWMA, /* Xbox360 XWMA */ | | FMOD_SOUND_TYPE_XWMA, /* Xbox360 XWMA */ | |
|
| | | FMOD_SOUND_TYPE_BCWAV, /* 3DS BCWAV container format for DSP
ADPCM and PCM */ | |
| | | | |
| FMOD_SOUND_TYPE_MAX, /* Maximum number of sound types suppo
rted. */ | | FMOD_SOUND_TYPE_MAX, /* Maximum number of sound types suppo
rted. */ | |
| FMOD_SOUND_TYPE_FORCEINT = 65536 /* Makes sure this enum is signed 32bi
t. */ | | FMOD_SOUND_TYPE_FORCEINT = 65536 /* Makes sure this enum is signed 32bi
t. */ | |
| } FMOD_SOUND_TYPE; | | } FMOD_SOUND_TYPE; | |
| | | | |
| /* | | /* | |
| [ENUM] | | [ENUM] | |
| [ | | [ | |
| [DESCRIPTION] | | [DESCRIPTION] | |
| These definitions describe the native format of the hardware or softwar
e buffer that will be used. | | These definitions describe the native format of the hardware or softwar
e buffer that will be used. | |
| | | | |
| skipping to change at line 1822 | | skipping to change at line 1824 | |
| float HRTFMinAngle; /* [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 begi
ns to have an effect. 0 = in front of the listener. 180 = from 90 degrees t
o the left of the listener to 90 degrees to the right. 360 = behind the lis
tener. Default = 180.0. */ | | float HRTFMinAngle; /* [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 begi
ns to have an effect. 0 = in front of the listener. 180 = from 90 degrees t
o the left of the listener to 90 degrees to the right. 360 = behind the lis
tener. Default = 180.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 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. Default = 32. */ | | 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. Default = 32. */ | |
| 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. */ | |
| } 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. | |
| | | | |
End of changes. 5 change blocks. |
| 2 lines changed or deleted | | 5 lines changed or added | |
|
| fmod_errors.h | | fmod_errors.h | |
| | | | |
| skipping to change at line 111 | | skipping to change at line 111 | |
| 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, or another application has locked the EAX4 FX slot. "; | | 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 another application has locked the EAX4 FX slot. "; | |
|
| case FMOD_ERR_SUBSOUNDS: return "The error occured bec
ause the sound referenced contains subsounds. The operation cannot be perf
ormed on a parent sound, or a parent sound was played without 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. "; | |
| case FMOD_ERR_VERSION: return "The version number of
this file format is not supported. "; | | case FMOD_ERR_VERSION: return "The version number of
this file format is not supported. "; | |
| | | | |
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 0x00043308 | | #define FMOD_EVENT_VERSION 0x00043309 | |
| | | | |
| /* | | /* | |
| 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 253 | | skipping to change at line 253 | |
| [SEE_ALSO] | | [SEE_ALSO] | |
| Event::setPitch | | Event::setPitch | |
| EventCategory::setPitch | | EventCategory::setPitch | |
| ] | | ] | |
| */ | | */ | |
| typedef enum | | typedef enum | |
| { | | { | |
| FMOD_EVENT_PITCHUNITS_RAW = 0, /* Pitch is specified in raw underl
ying units. */ | | FMOD_EVENT_PITCHUNITS_RAW = 0, /* Pitch is specified in raw underl
ying units. */ | |
| FMOD_EVENT_PITCHUNITS_OCTAVES, /* Pitch is specified in units of o
ctaves. */ | | FMOD_EVENT_PITCHUNITS_OCTAVES, /* Pitch is specified in units of o
ctaves. */ | |
| FMOD_EVENT_PITCHUNITS_SEMITONES, /* Pitch is specified in units of s
emitones. */ | | FMOD_EVENT_PITCHUNITS_SEMITONES, /* Pitch is specified in units of s
emitones. */ | |
|
| FMOD_EVENT_PITCHUNITS_TONES, /* Pitch is specified in units of t
ones. */ | | FMOD_EVENT_PITCHUNITS_TONES /* Pitch is specified in units of t
ones. */ | |
| } FMOD_EVENT_PITCHUNITS; | | } FMOD_EVENT_PITCHUNITS; | |
| | | | |
| /* | | /* | |
| [ENUM] | | [ENUM] | |
| [ | | [ | |
| [DESCRIPTION] | | [DESCRIPTION] | |
| Flags to pass to EventGroup::loadEventData to determine what to load at
the time of calling. | | Flags to pass to EventGroup::loadEventData to determine what to load at
the time of calling. | |
| | | | |
| [REMARKS] | | [REMARKS] | |
| | | | |
| | | | |
| skipping to change at line 847 | | skipping to change at line 847 | |
| */ | | */ | |
| typedef enum | | typedef enum | |
| { | | { | |
| FMOD_MUSIC_CALLBACKTYPE_SEGMENT_START, /* Called when a segment i
s started. */ | | FMOD_MUSIC_CALLBACKTYPE_SEGMENT_START, /* Called when a segment i
s started. */ | |
| FMOD_MUSIC_CALLBACKTYPE_SEGMENT_END, /* Called when a segment e
nds. */ | | FMOD_MUSIC_CALLBACKTYPE_SEGMENT_END, /* Called when a segment e
nds. */ | |
| FMOD_MUSIC_CALLBACKTYPE_SAMPLE_CREATE, /* Called when a segment n
eeds a sound created. */ | | FMOD_MUSIC_CALLBACKTYPE_SAMPLE_CREATE, /* Called when a segment n
eeds a sound created. */ | |
| FMOD_MUSIC_CALLBACKTYPE_SAMPLE_RELEASE, /* Called when a segment i
s finished with a sound. */ | | FMOD_MUSIC_CALLBACKTYPE_SAMPLE_RELEASE, /* Called when a segment i
s finished with a sound. */ | |
| FMOD_MUSIC_CALLBACKTYPE_CHANNEL_CREATED, /* Called when a channel i
s created to play a segment. */ | | FMOD_MUSIC_CALLBACKTYPE_CHANNEL_CREATED, /* Called when a channel i
s created to play a segment. */ | |
| FMOD_MUSIC_CALLBACKTYPE_CHANNEL_DESTROYED, /* Called when a segment c
hannel is destroyed. */ | | FMOD_MUSIC_CALLBACKTYPE_CHANNEL_DESTROYED, /* Called when a segment c
hannel is destroyed. */ | |
| FMOD_MUSIC_CALLBACKTYPE_RESET, /* Called when the system
is reset */ | | FMOD_MUSIC_CALLBACKTYPE_RESET, /* Called when the system
is reset */ | |
|
| FMOD_MUSIC_CALLBACKTYPE_BEAT, /* Called each time a beat
is passed (based on segment tempo and time signature) */ | | FMOD_MUSIC_CALLBACKTYPE_BEAT /* Called each time a beat
is passed (based on segment tempo and time signature) */ | |
| } FMOD_MUSIC_CALLBACKTYPE; | | } FMOD_MUSIC_CALLBACKTYPE; | |
| | | | |
| typedef FMOD_RESULT (F_CALLBACK *FMOD_MUSIC_CALLBACK) (FMOD_MUSIC_CALLBACKT
YPE type, void *param1, void *param2, void *userdata); | | typedef FMOD_RESULT (F_CALLBACK *FMOD_MUSIC_CALLBACK) (FMOD_MUSIC_CALLBACKT
YPE type, void *param1, void *param2, void *userdata); | |
| | | | |
| /* ========================================================================
================== */ | | /* ========================================================================
================== */ | |
| /* FUNCTION PROTOTYPES
*/ | | /* FUNCTION PROTOTYPES
*/ | |
| /* ========================================================================
================== */ | | /* ========================================================================
================== */ | |
| | | | |
| #ifdef __cplusplus | | #ifdef __cplusplus | |
| extern "C" | | extern "C" | |
| | | | |
End of changes. 3 change blocks. |
| 3 lines changed or deleted | | 3 lines changed or added | |
|