mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-11 14:44:36 +00:00
Add reverb
Adds reverb functionality to sound system TODO: Make a proper sfxMixer api that will route voices to channels that have the effects slots added to them. this is just a place holder for a more complete implementation
This commit is contained in:
parent
15a7b8cce0
commit
acda0354d6
11 changed files with 830 additions and 1002 deletions
|
|
@ -210,9 +210,9 @@ class SFXVoice : public StrongRefBase,
|
|||
F32 outerAngle,
|
||||
F32 outerVolume ) = 0;
|
||||
|
||||
/// Set the reverb properties for playback of this sound.
|
||||
/// Allow this sound to use SFXEnvironment reverb.
|
||||
/// @note Has no effect on devices that do not support reverb.
|
||||
virtual void setReverb( const SFXSoundReverbProperties& reverb ) {}
|
||||
virtual void setReverb( bool useReverb ) {}
|
||||
|
||||
/// Set the priority of this voice. Default 1.0.
|
||||
/// @note Has no effect on devices that do not support voice management.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue