orx
1.14
Portable Game Engine
|
Macros | |
#define | orxSOUNDPOINTER_KU32_SOUND_NUMBER 4 |
Typedefs | |
typedef struct __orxSOUNDPOINTER_t | orxSOUNDPOINTER |
Sound pointer module Allows to creates sound containers for objects.
#define orxSOUNDPOINTER_KU32_SOUND_NUMBER 4 |
Misc defines
Definition at line 54 of file orxSoundPointer.h.
typedef struct __orxSOUNDPOINTER_t orxSOUNDPOINTER |
Internal SoundPointer structure
Definition at line 58 of file orxSoundPointer.h.
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddFilter | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
const orxSOUND_FILTER_DATA * | _pstFilterData, | ||
orxBOOL | _bUseCustomParam | ||
) |
Adds a filter to all related sounds (cascading)
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _pstFilterData | Concerned filter data |
[in] | _bUseCustomParam | Filter uses custom parameters |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddFilterFromConfig | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
const orxSTRING | _zFilterConfigID | ||
) |
Adds a filter to all related sounds from config (cascading)
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _zFilterConfigID | Config ID of the filter to add |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddSound | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
orxSOUND * | _pstSound | ||
) |
Adds a sound
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _pstSound | Sound to add |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_AddSoundFromConfig | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
const orxSTRING | _zSoundConfigID | ||
) |
Adds a sound using its config ID
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _zSoundConfigID | Config ID of the sound to add |
orxDLLAPI orxSOUNDPOINTER* orxFASTCALL orxSoundPointer_Create | ( | ) |
Creates an empty SoundPointer
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Delete | ( | orxSOUNDPOINTER * | _pstSoundPointer | ) |
Deletes a SoundPointer
[in] | _pstSoundPointer | Concerned SoundPointer |
orxDLLAPI void orxFASTCALL orxSoundPointer_Enable | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
orxBOOL | _bEnable | ||
) |
Enables/disables a SoundPointer
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _bEnable | Enable / disable |
orxDLLAPI orxU32 orxFASTCALL orxSoundPointer_GetCount | ( | const orxSOUNDPOINTER * | _pstSoundPointer | ) |
Gets how many sounds are currently in use
[in] | _pstSoundPointer | Concerned SoundPointer |
orxDLLAPI orxSOUND* orxFASTCALL orxSoundPointer_GetLastAddedSound | ( | const orxSOUNDPOINTER * | _pstSoundPointer | ) |
Gets last added sound (Do NOT destroy it directly before removing it!!!)
[in] | _pstSoundPointer | Concerned SoundPointer |
Inits the SoundPointer module
orxDLLAPI orxBOOL orxFASTCALL orxSoundPointer_IsEnabled | ( | const orxSOUNDPOINTER * | _pstSoundPointer | ) |
Is SoundPointer enabled?
[in] | _pstSoundPointer | Concerned SoundPointer |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Pause | ( | orxSOUNDPOINTER * | _pstSoundPointer | ) |
Pauses all related sounds
[in] | _pstSoundPointer | Concerned SoundPointer |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Play | ( | orxSOUNDPOINTER * | _pstSoundPointer | ) |
Plays all related sounds
[in] | _pstSoundPointer | Concerned SoundPointer |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveAllFilters | ( | orxSOUNDPOINTER * | _pstSoundPointer | ) |
Removes all filters from all related sounds
[in] | _pstSoundPointer | Concerned SoundPointer |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveAllSounds | ( | orxSOUNDPOINTER * | _pstSoundPointer | ) |
Removes all sounds
[in] | _pstSoundPointer | Concerned SoundPointer |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveLastFilter | ( | orxSOUNDPOINTER * | _pstSoundPointer | ) |
Removes last added filter from all related sounds
[in] | _pstSoundPointer | Concerned SoundPointer |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveSound | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
orxSOUND * | _pstSound | ||
) |
Removes a sound
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _pstSound | Sound to remove |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_RemoveSoundFromConfig | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
const orxSTRING | _zSoundConfigID | ||
) |
Removes a sound using its config ID
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _zSoundConfigID | Config ID of the sound to remove |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_SetPanning | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
orxFLOAT | _fPanning, | ||
orxBOOL | _bMix | ||
) |
Sets panning of all related sounds
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _fPanning | Sound panning, -1.0f for full left, 0.0f for center, 1.0f for full right |
[in] | _bMix | Left/Right channels will be mixed if orxTRUE or act like a balance otherwise |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_SetPitch | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
orxFLOAT | _fPitch | ||
) |
Sets pitch of all related sounds
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _fPitch | Desired pitch |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_SetVolume | ( | orxSOUNDPOINTER * | _pstSoundPointer, |
orxFLOAT | _fVolume | ||
) |
Sets volume of all related sounds
[in] | _pstSoundPointer | Concerned SoundPointer |
[in] | _fVolume | Desired volume (0.0 - 1.0) |
orxDLLAPI orxSTATUS orxFASTCALL orxSoundPointer_Stop | ( | orxSOUNDPOINTER * | _pstSoundPointer | ) |
Stops all related sounds
[in] | _pstSoundPointer | Concerned SoundPointer |