| 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 0x00043906 | | #define FMOD_VERSION 0x00043907 | |
| | | | |
| /* | | /* | |
| 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 ) | |
|
| #elif (defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(_
WIN64) || defined(_XBOX)) | | #elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__) || defined(_W
IN64) | |
| #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 ) | |
|
| #elif defined(__MACH__) || defined (__ANDROID__) | | #elif defined(__MACH__) || defined(__ANDROID__) || defined(__linux__) | |
| #define F_CDECL | | #define F_CDECL | |
| #define F_STDCALL | | #define F_STDCALL | |
| #define F_DECLSPEC | | #define F_DECLSPEC | |
| #define F_DLLEXPORT __attribute__ ((visibility("default"))) | | #define F_DLLEXPORT __attribute__ ((visibility("default"))) | |
| #else | | #else | |
|
| #define F_STDCALL | | | |
| #define F_CDECL | | #define F_CDECL | |
|
| | | #define F_STDCALL | |
| #define F_DECLSPEC | | #define F_DECLSPEC | |
| #define F_DLLEXPORT | | #define F_DLLEXPORT | |
| #endif | | #endif | |
| | | | |
| #ifdef DLL_EXPORTS | | #ifdef DLL_EXPORTS | |
|
| #if defined(__MACH__) || defined(__ANDROID__) || defined(JUNGLE) | | #if defined(__MACH__) || defined(__ANDROID__) || defined(__linux__) | |
| #define F_API __attribute__ ((visibility("default"))) | | #define F_API __attribute__ ((visibility("default"))) | |
| #else | | #else | |
| #define F_API __declspec(dllexport) F_STDCALL | | #define F_API __declspec(dllexport) F_STDCALL | |
| #endif | | #endif | |
| #else | | #else | |
| #define F_API F_STDCALL | | #define F_API F_STDCALL | |
| #endif | | #endif | |
| | | | |
| #define F_CALLBACK F_STDCALL | | #define F_CALLBACK F_STDCALL | |
| | | | |
| | | | |
| skipping to change at line 568 | | skipping to change at line 568 | |
| and a subwoofer speaker.<br> | | and a subwoofer speaker.<br> | |
| <li>Mono sounds default to the center speaker. They can be panned with
Channel::setPan.<br> | | <li>Mono sounds default to the center speaker. They can be panned with
Channel::setPan.<br> | |
| <li>Stereo sounds default to the left sound channel played on the front
left, and the right sound channel played on the front right. | | <li>Stereo sounds default to the left sound channel played on the front
left, and the right sound channel played on the front right. | |
| <li>They can be cross faded with Channel::setPan.<br> | | <li>They can be cross faded with Channel::setPan.<br> | |
| <li>Multichannel sounds default to all of their sound channels being pl
ayed on each speaker in order of input. | | <li>Multichannel sounds default to all of their sound channels being pl
ayed on each speaker in order of input. | |
| <li>Mix behavior for multichannel sounds can be set with Channel::setSp
eakerLevels.<br> | | <li>Mix behavior for multichannel sounds can be set with Channel::setSp
eakerLevels.<br> | |
| <li>Channel::setSpeakerMix works and every parameter is used to set the
balance of a sound in any speaker.<br> | | <li>Channel::setSpeakerMix works and every parameter is used to set the
balance of a sound in any speaker.<br> | |
| <br> | | <br> | |
| FMOD_SPEAKERMODE_SRS5_1_MATRIX<br> | | FMOD_SPEAKERMODE_SRS5_1_MATRIX<br> | |
| ------------------------------------------------------<br> | | ------------------------------------------------------<br> | |
|
| This mode is for mono, stereo, 5.1 and 7.1 speaker arrangements, as it | | This mode is for mono, stereo, 5.1 and 6.1 speaker arrangements, as it | |
| is backwards and forwards compatible with | | is backwards and forwards compatible with | |
| stereo, but to get a surround effect a SRS 5.1, Prologic or Prologic 2 | | stereo, but to get a surround effect a SRS 5.1, Prologic or Prologic 2 | |
| hardware decoder / amplifier is needed.<br> | | hardware decoder / amplifier is needed or | |
| | | a compatible SRS equipped device (e.g., laptop, TV, etc.) or accessory | |
| | | (e.g., headphone).<br> | |
| Pan behavior is the same as FMOD_SPEAKERMODE_5POINT1.<br> | | Pan behavior is the same as FMOD_SPEAKERMODE_5POINT1.<br> | |
| <br> | | <br> | |
| If this function is called the numoutputchannels setting in System::set
SoftwareFormat is overwritten.<br> | | If this function is called the numoutputchannels setting in System::set
SoftwareFormat is overwritten.<br> | |
| <br> | | <br> | |
| Output rate must be 44100, 48000 or 96000 for this to work otherwise FM
OD_ERR_OUTPUT_INIT will be returned.<br> | | Output rate must be 44100, 48000 or 96000 for this to work otherwise FM
OD_ERR_OUTPUT_INIT will be returned.<br> | |
| | | | |
| FMOD_SPEAKERMODE_MYEARS<br> | | FMOD_SPEAKERMODE_MYEARS<br> | |
| ------------------------------------------------------<br> | | ------------------------------------------------------<br> | |
| This mode is for headphones. This will attempt to load a MyEars profil
e (see myears.net.au) and use it to generate | | This mode is for headphones. This will attempt to load a MyEars profil
e (see myears.net.au) and use it to generate | |
| surround sound on headphones using a personalized HRTF algorithm, for r
ealistic 3d sound.<br> | | surround sound on headphones using a personalized HRTF algorithm, for r
ealistic 3d sound.<br> | |
| | | | |
| skipping to change at line 1521 | | skipping to change at line 1522 | |
| Win32, Win64, Linux, Linux64, Macintosh, Xbox360, PlayStation Portable,
PlayStation 3, Wii, iPhone, 3GS, NGP, Android | | Win32, Win64, Linux, Linux64, Macintosh, Xbox360, PlayStation Portable,
PlayStation 3, Wii, iPhone, 3GS, NGP, Android | |
| | | | |
| [SEE_ALSO] | | [SEE_ALSO] | |
| System::setReverbProperties | | System::setReverbProperties | |
| System::getReverbProperties | | System::getReverbProperties | |
| FMOD_REVERB_PRESETS | | FMOD_REVERB_PRESETS | |
| FMOD_REVERB_FLAGS | | FMOD_REVERB_FLAGS | |
| ] | | ] | |
| */ | | */ | |
| typedef struct FMOD_REVERB_PROPERTIES | | typedef struct FMOD_REVERB_PROPERTIES | |
|
| { /* MIN MAX DEFAULT DESCRIPT | | { /* MIN MAX DEFAULT DESCRIP | |
| ION */ | | TION */ | |
| int Instance; /* [w] 0 3 0 Environm | | int Instance; /* [w] 0 3 0 Environ | |
| ent Instance. (SUPPORTED:SF | | ment Instance. (SUPPORTED:S | |
| X(4 instances) and Wii (3 instances)) */ | | FX(4 instances) and Wii (3 instances)) */ | |
| int Environment; /* [r/w] -1 25 -1 Sets all | | int Environment; /* [r/w] -1 25 -1 Sets al | |
| listener properties. -1 = OFF. (SUPPORTED:SF | | l listener properties. -1 = OFF. (SUPPORTED:S | |
| X(-1 only)/PSP) */ | | FX(-1 only)/PSP) */ | |
| float EnvDiffusion; /* [r/w] 0.0 1.0 1.0 Environm | | float EnvDiffusion; /* [r/w] 0.0 1.0 1.0 Environ | |
| ent diffusion (SUPPORTED:WI | | ment diffusion (SUPPORTED:W | |
| I) */ | | II) */ | |
| int Room; /* [r/w] -10000 0 -1000 Room eff | | int Room; /* [r/w] -10000 0 -1000 Room ef | |
| ect level (at mid frequencies) (SUPPORTED:SF | | fect level (at mid frequencies) (SUPPORTED:S | |
| X/WII/PSP) */ | | FX/WII/PSP) */ | |
| int RoomHF; /* [r/w] -10000 0 -100 Relative | | int RoomHF; /* [r/w] -10000 0 -100 Relativ | |
| room effect level at high frequencies (SUPPORTED:SF | | e room effect level at high frequencies (SUPPORTED:S | |
| X) */ | | FX) */ | |
| int RoomLF; /* [r/w] -10000 0 0 Relative | | int RoomLF; /* [r/w] -10000 0 0 Relativ | |
| room effect level at low frequencies (SUPPORTED:SF | | e room effect level at low frequencies (SUPPORTED:S | |
| X) */ | | FX) */ | |
| float DecayTime; /* [r/w] 0.1 20.0 1.49 Reverber | | float DecayTime; /* [r/w] 0.1 20.0 1.49 Reverbe | |
| ation decay time at mid frequencies (SUPPORTED:SF | | ration decay time at mid frequencies (SUPPORTED:S | |
| X/WII) */ | | FX/WII) */ | |
| float DecayHFRatio; /* [r/w] 0.1 2.0 0.83 High-fre | | float DecayHFRatio; /* [r/w] 0.1 2.0 0.83 High-fr | |
| quency to mid-frequency decay time ratio (SUPPORTED:SF | | equency to mid-frequency decay time ratio (SUPPORTED:S | |
| X) */ | | FX) */ | |
| float DecayLFRatio; /* [r/w] 0.1 2.0 1.0 Low-freq | | float DecayLFRatio; /* [r/w] 0.1 2.0 1.0 Low-fre | |
| uency to mid-frequency decay time ratio (SUPPORTED:-- | | quency to mid-frequency decay time ratio (SUPPORTED:- | |
| -) */ | | --) */ | |
| int Reflections; /* [r/w] -10000 1000 -2602 Early re | | int Reflections; /* [r/w] -10000 1000 -2602 Early r | |
| flections level relative to room effect (SUPPORTED:SF | | eflections level relative to room effect (SUPPORTED:S | |
| X/WII) */ | | FX/WII) */ | |
| float ReflectionsDelay; /* [r/w] 0.0 0.3 0.007 Initial | | float ReflectionsDelay; /* [r/w] 0.0 0.3 0.007 Initial | |
| reflection delay time (SUPPORTED:SF | | reflection delay time (SUPPORTED:S | |
| X) */ | | FX) */ | |
| int Reverb; /* [r/w] -10000 2000 200 Late rev | | int Reverb; /* [r/w] -10000 2000 200 Late re | |
| erberation level relative to room effect (SUPPORTED:SF | | verberation level relative to room effect (SUPPORTED:S | |
| X) */ | | FX) */ | |
| float ReverbDelay; /* [r/w] 0.0 0.1 0.011 Late rev | | float ReverbDelay; /* [r/w] 0.0 0.1 0.011 Late re | |
| erberation delay time relative to initial reflection (SUPPORTED:SF | | verberation delay time relative to initial reflection (SUPPORTED:S | |
| X/WII) */ | | FX/WII) */ | |
| float ModulationTime; /* [r/w] 0.04 4.0 0.25 Modulati | | float ModulationTime; /* [r/w] 0.04 4.0 0.25 Modulat | |
| on time (SUPPORTED:-- | | ion time (SUPPORTED:- | |
| -) */ | | --) */ | |
| float ModulationDepth; /* [r/w] 0.0 1.0 0.0 Modulati | | float ModulationDepth; /* [r/w] 0.0 1.0 0.0 Modulat | |
| on depth (SUPPORTED:WI | | ion depth (SUPPORTED:W | |
| I) */ | | II) */ | |
| float HFReference; /* [r/w] 1000.0 20000 5000.0 Referenc | | float HFReference; /* [r/w] 20.0 20000.0 5000.0 Referen | |
| e high frequency (hz) (SUPPORTED:SF | | ce high frequency (hz) (SUPPORTED:S | |
| X) */ | | FX) */ | |
| float LFReference; /* [r/w] 20.0 1000.0 250.0 Referenc | | float LFReference; /* [r/w] 20.0 1000.0 250.0 Referen | |
| e low frequency (hz) (SUPPORTED:SF | | ce low frequency (hz) (SUPPORTED:S | |
| X) */ | | FX) */ | |
| float Diffusion; /* [r/w] 0.0 100.0 100.0 Value th | | float Diffusion; /* [r/w] 0.0 100.0 100.0 Value t | |
| at controls the echo density in the late reverberation decay. (SUPPORTED:SF | | hat controls the echo density in the late reverberation decay. (SUPPORTED:S | |
| X) */ | | FX) */ | |
| float Density; /* [r/w] 0.0 100.0 100.0 Value th | | float Density; /* [r/w] 0.0 100.0 100.0 Value t | |
| at controls the modal density in the late reverberation decay (SUPPORTED:SF | | hat controls the modal density in the late reverberation decay (SUPPORTED:S | |
| X) */ | | FX) */ | |
| unsigned int Flags; /* [r/w] FMOD_REVERB_FLAGS - modifies t | | unsigned int Flags; /* [r/w] FMOD_REVERB_FLAGS - modifies t | |
| he behavior of above properties (SUPPORTED:WI | | he behavior of above properties (SUPPORTED:W | |
| I) */ | | II) */ | |
| } FMOD_REVERB_PROPERTIES; | | } FMOD_REVERB_PROPERTIES; | |
| | | | |
| /* | | /* | |
| [DEFINE] | | [DEFINE] | |
| [ | | [ | |
| [NAME] | | [NAME] | |
| FMOD_REVERB_FLAGS | | FMOD_REVERB_FLAGS | |
| | | | |
| [DESCRIPTION] | | [DESCRIPTION] | |
| Values for the Flags member of the FMOD_REVERB_PROPERTIES structure. | | Values for the Flags member of the FMOD_REVERB_PROPERTIES structure. | |
| | | | |
End of changes. 8 change blocks. |
| 71 lines changed or deleted | | 73 lines changed or added | |
|