|
GREM 3.12.0
Game/Rendering Engine Modules for C++
|
Persistent system for playing sound in a simulated 3D arena to the default audio device. More...
#include <GREM/audio/SoundStage.hpp>
Public Member Functions | |
| SoundStage (const SoundStageOptions &options={}) | |
| Construct a sound stage. | |
| void | update (const Listener &listener) |
| Update the 3D parameters of the sound stage. | |
| SoundInstanceID | playSound (const Sound &sound, float volume=-1.0f, Panning panning={}) |
| Create a new relative sound instance and start playing it. | |
| SoundInstanceID | play3DSound (const Sound &sound, vec3 position, vec3 velocity, float volume=-1.0f) |
| Create a new 3D sound instance and start playing it. | |
| SoundInstanceID | playSoundInBackground (const Sound &sound, float volume=-1.0f) |
| Create a new sound instance without any panning and start playing it. | |
| SoundInstanceID | createPausedSound (const Sound &sound, float volume=-1.0f, Panning panning={}) |
| Create a new relative sound instance, but don't start playing it yet. | |
| SoundInstanceID | createPaused3DSound (const Sound &sound, vec3 position, vec3 velocity, float volume=-1.0f) |
| Create a new 3D sound instance, but don't start playing it yet. | |
| SoundInstanceID | createPausedSoundInBackground (const Sound &sound, float volume=-1.0f) |
| Create a new sound instance without any panning, but don't start playing it yet. | |
| SoundInstanceID | playSoundClocked (Duration time, const Sound &sound, float volume=-1.0f, Panning panning={}) |
| Create a new 3D sound instance and start playing it at a specific time relative to other sounds that were also played using playSoundClocked(). | |
| SoundInstanceID | play3DSoundClocked (Duration time, const Sound &sound, vec3 position, vec3 velocity, float volume=-1.0f) |
| Create a new 3D sound instance and start playing it at a specific time relative to other sounds that were also played using playSoundClocked(). | |
| bool | isSoundPaused (SoundInstanceID id) const noexcept |
| Check if a specific sound instance is currently paused. | |
| bool | isSoundStopped (SoundInstanceID id) const noexcept |
| Check if a specific sound instance has finished playing. | |
| bool | isSoundLooping (SoundInstanceID id) const noexcept |
| Check if a specific sound instance is set to repeat instead of stopping. | |
| Optional< Duration > | getSoundTime (SoundInstanceID id) const |
| Get the current playback time point of a specific sound instance. | |
| void | stopSound (SoundInstanceID id) noexcept |
| Stop a specific sound instance and remove it. | |
| void | pauseSound (SoundInstanceID id) |
| Pause a specific sound instance. | |
| void | resumeSound (SoundInstanceID id) |
| Unpause and resume a specific sound instance. | |
| void | scheduleSoundStop (SoundInstanceID id, Duration timePointInSound) |
| Schedule for a specific sound instance to stop playing and remove itself when the playback reaches a specific time point. | |
| void | scheduleSoundPause (SoundInstanceID id, Duration timePointInSound) |
| Schedule for a specific sound instance to pause itself when the playback reaches a specific time point. | |
| void | setSoundLooping (SoundInstanceID id, bool newLooping) |
| Set whether a specific sound instance should repeat or stop when it ends. | |
| void | seekToSoundTime (SoundInstanceID id, Duration timePointInSound) |
| Set the current playback time point of a specific sound instance. | |
| void | setSoundPosition (SoundInstanceID id, vec3 newPosition) |
| Set the current 3D position of a specific sound instance. | |
| void | setSoundVelocity (SoundInstanceID id, vec3 newVelocity) |
| Set the current 3D velocity of a specific sound instance. | |
| void | setSoundPositionAndVelocity (SoundInstanceID id, vec3 newPosition, vec3 newVelocity) |
| Set both the 3D position and 3D velocity of a specific sound instance at the same time. | |
| void | setSoundPanning (SoundInstanceID id, Panning newPanning) |
| Set the panning of a specific sound instance. | |
| void | setSoundVolume (SoundInstanceID id, float newVolume) |
| Set the volume of a specific sound instance. | |
| void | fadeSoundVolume (SoundInstanceID id, float targetVolume, Duration fadeDuration) |
| Fade the volume of a specific sound instance towards a target volume over a given duration. | |
| void | setSoundPlaybackSpeed (SoundInstanceID id, float newPlaybackSpeed) |
| Set the relative playback speed of a specific sound instance. | |
| void | fadeSoundPlaybackSpeed (SoundInstanceID id, float targetPlaybackSpeed, Duration fadeDuration) |
| Fade the relative playback speed of a specific sound instance towards a target relative playback speed over a given duration. | |
| void | setOutputChannelSpeakerPosition (size_t outputChannelIndex, vec3 newPosition) |
| Set the listener-relative speaker position of an output audio channel. | |
| void | setOutputVolume (float newVolume) |
| Set the global master volume of the sound stage. | |
| void | fadeOutputVolume (float targetVolume, Duration fadeDuration) |
| Fade the global master volume of the sound stage towards a target volume over a given duration. | |
| void | setSpeedOfSound (float newSpeedOfSound) |
| Set the speed of sound in the sound stage. | |
| void | setMaxSimultaneousSoundInstanceCount (size_t newMaxSimultaneousSoundInstanceCount) |
| Set the maximum total number of sound instances that can play simultaneously. | |
| void | setStatisticsEnabled (bool newEnableStatistics) |
| Set whether to enable statistics gathering or not. | |
| size_t | getOutputChannelCount () const noexcept |
| Get the number of output audio channels. | |
| vec3 | getOutputChannelSpeakerPosition (size_t outputChannelIndex) const noexcept |
| Get the listener-relative speaker position of an output audio channel. | |
| float | getOutputVolume () const noexcept |
| Get the global master volume of the sound stage. | |
| float | getSpeedOfSound () const noexcept |
| Get the speed of sound in the sound stage. | |
| size_t | getMaxSimultaneousSounds () const noexcept |
| Get the maximum total number of sound instances that can play simultaneously. | |
| Array< float, 256 > | calculateOutputFastFourierTransformStatistics () const |
| Calculate the fast Fourier transform of the audio currently playing through the sound stage. | |
| Array< float, 256 > | getOutputWaveStatistics () const |
| Get the sound wave currently playing through the sound stage. | |
| float | getOutputChannelVolumeStatistics (size_t outputChannelIndex) const |
| Get an approximation of the volume of the audio currently playing through a specific channel of the sound stage. | |
| template<filter F> | |
| void | setGlobalFilter (size_t filterSlotIndex, const F &newFilter) |
| Set the filter at a particular global filter slot of the sound stage. | |
| void | clearGlobalFilter (size_t filterSlotIndex) noexcept |
| Remove the filter at a particular global filter slot of the sound stage. | |
| template<auto Member> | |
| void | setSoundFilterParameter (SoundInstanceID id, size_t filterSlotIndex, meta::member_pointer_target_type_t< Member > newValue) |
| Set a live parameter of an active filter at a particular filter slot of a sound instance in the sound stage. | |
| template<auto Member> | |
| void | setGlobalFilterParameter (size_t filterSlotIndex, meta::member_pointer_target_type_t< Member > newValue) |
| Set a live parameter of an active filter at a particular global filter slot of the sound stage. | |
| template<auto Member> | |
| void | fadeSoundFilterParameter (SoundInstanceID id, size_t filterSlotIndex, meta::member_pointer_target_type_t< Member > targetValue, Duration fadeDuration) |
| Fade a live parameter of an active filter at a particular filter slot of a sound instance in the sound stage towards a target value over a given duration. | |
| template<auto Member> | |
| void | fadeGlobalFilterParameter (size_t filterSlotIndex, meta::member_pointer_target_type_t< Member > targetValue, Duration fadeDuration) |
| Fade a live parameter of an active filter at a particular global filter slot of the sound stage towards a target value over a given duration. | |
| template<auto Member> | |
| meta::member_pointer_target_type_t< Member > | getSoundFilterParameter (SoundInstanceID id, size_t filterSlotIndex) const |
| Get a live parameter of an active filter at a particular filter slot of a sound instance in the sound stage. | |
| template<auto Member> | |
| meta::member_pointer_target_type_t< Member > | getGlobalFilterParameter (size_t filterSlotIndex) const |
| Get a live parameter of an active filter at a particular global filter slot of the sound stage. | |
| void * | get () noexcept |
| Get an opaque handle to the internal representation of the sound stage. | |
| const void * | get () const noexcept |
| Get an opaque handle to the internal representation of the sound stage. | |
Persistent system for playing sound in a simulated 3D arena to the default audio device.
The sound stage uses a right-handed coordinate system for 3D calculations, and any coordinates are assumed to be in meters by default. Applications that use a different unit of length should adjust the SoundStageOptions::speedOfSound in the sound stage configuration as well as the SoundOptions::rolloffFactor of each Sound accordingly.
|
explicit |
Construct a sound stage.
| options | initial configuration of the sound stage, see SoundStageOptions. |
| audio::Error | on failure to initialize the underlying audio engine. |
| std::bad_alloc | on allocation failure. |
| void grem::audio::SoundStage::update | ( | const Listener & | listener | ) |
Update the 3D parameters of the sound stage.
| listener | current parameters to use for the sound listener on this frame. |
| SoundInstanceID grem::audio::SoundStage::playSound | ( | const Sound & | sound, |
| float | volume = -1.0f, | ||
| Panning | panning = {} ) |
Create a new relative sound instance and start playing it.
| sound | the sound data to use for this instance. |
| volume | gain to multiply the amplitude of the sound by when playing. If negative, the default volume set in the SoundOptions is used instead. |
| panning | panning to apply to the sound when playing. |
| SoundInstanceID grem::audio::SoundStage::play3DSound | ( | const Sound & | sound, |
| vec3 | position, | ||
| vec3 | velocity, | ||
| float | volume = -1.0f ) |
Create a new 3D sound instance and start playing it.
| sound | the sound data to use for this instance. |
| position | the position to play the sound at, in sound stage coordinates. Used for distance attenuation/falloff according to the SoundAttenuationModel set in the sound's SoundOptions. |
| velocity | initial linear velocity of the sound. Relevant for simulating the doppler effect. |
| volume | gain to multiply the amplitude of the sound by when playing. If negative, the default volume set in the SoundOptions is used instead. |
| SoundInstanceID grem::audio::SoundStage::playSoundInBackground | ( | const Sound & | sound, |
| float | volume = -1.0f ) |
Create a new sound instance without any panning and start playing it.
| sound | the sound data to use for this instance. |
| volume | gain to multiply the amplitude of the sound by when playing. If negative, the default volume set in the SoundOptions is used instead. |
| SoundInstanceID grem::audio::SoundStage::createPausedSound | ( | const Sound & | sound, |
| float | volume = -1.0f, | ||
| Panning | panning = {} ) |
Create a new relative sound instance, but don't start playing it yet.
| sound | the sound data to use for this instance. |
| volume | gain to multiply the amplitude of the sound by when playing. If negative, the default volume set in the SoundOptions is used instead. |
| panning | panning to apply to the sound when playing. |
| SoundInstanceID grem::audio::SoundStage::createPaused3DSound | ( | const Sound & | sound, |
| vec3 | position, | ||
| vec3 | velocity, | ||
| float | volume = -1.0f ) |
Create a new 3D sound instance, but don't start playing it yet.
| sound | the sound data to use for this instance. |
| position | the position to play the sound at, in sound stage coordinates. Used for distance attenuation/falloff according to the SoundAttenuationModel set in the sound's SoundOptions. |
| velocity | initial linear velocity of the sound. Relevant for simulating the doppler effect. |
| volume | gain to multiply the amplitude of the sound by when playing. If negative, the default volume set in the SoundOptions is used instead. |
| SoundInstanceID grem::audio::SoundStage::createPausedSoundInBackground | ( | const Sound & | sound, |
| float | volume = -1.0f ) |
Create a new sound instance without any panning, but don't start playing it yet.
| sound | the sound data to use for this instance. |
| volume | gain to multiply the amplitude of the sound by when playing. If negative, the default volume set in the SoundOptions is used instead. |
| SoundInstanceID grem::audio::SoundStage::playSoundClocked | ( | Duration | time, |
| const Sound & | sound, | ||
| float | volume = -1.0f, | ||
| Panning | panning = {} ) |
Create a new 3D sound instance and start playing it at a specific time relative to other sounds that were also played using playSoundClocked().
| time | time point to play the sound at, relative to other clocked sounds. This is typically the current frame or tick time, plus some offset. |
| sound | the sound data to use for this instance. |
| volume | gain to multiply the amplitude of the sound by when playing. If negative, the default volume set in the SoundOptions is used instead. |
| panning | panning to apply to the sound when playing. |
| SoundInstanceID grem::audio::SoundStage::play3DSoundClocked | ( | Duration | time, |
| const Sound & | sound, | ||
| vec3 | position, | ||
| vec3 | velocity, | ||
| float | volume = -1.0f ) |
Create a new 3D sound instance and start playing it at a specific time relative to other sounds that were also played using playSoundClocked().
| time | time point to play the sound at, relative to other clocked sounds. This is typically the current frame or tick time, plus some offset. |
| sound | the sound data to use for this instance. |
| position | the position to play the sound at, in sound stage coordinates. Used for distance attenuation/falloff according to the SoundAttenuationModel set in the sound's SoundOptions. |
| velocity | initial linear velocity of the sound. Relevant for simulating the doppler effect. |
| volume | gain to multiply the amplitude of the sound by when playing. If negative, the default volume set in the SoundOptions is used instead. |
|
nodiscardnoexcept |
Check if a specific sound instance is currently paused.
| id | handle to the sound instance, acquired from when the sound instance was created. |
|
nodiscardnoexcept |
Check if a specific sound instance has finished playing.
| id | handle to the sound instance, acquired from when the sound instance was created. |
|
nodiscardnoexcept |
Check if a specific sound instance is set to repeat instead of stopping.
| id | handle to the sound instance, acquired from when the sound instance was created. |
|
nodiscard |
Get the current playback time point of a specific sound instance.
| id | handle to the sound instance, acquired from when the sound instance was created. |
|
noexcept |
Stop a specific sound instance and remove it.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| void grem::audio::SoundStage::pauseSound | ( | SoundInstanceID | id | ) |
Pause a specific sound instance.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| void grem::audio::SoundStage::resumeSound | ( | SoundInstanceID | id | ) |
Unpause and resume a specific sound instance.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| void grem::audio::SoundStage::scheduleSoundStop | ( | SoundInstanceID | id, |
| Duration | timePointInSound ) |
Schedule for a specific sound instance to stop playing and remove itself when the playback reaches a specific time point.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| timePointInSound | the time point, measured from the beginning of the sound, where the sound instance will stop itself. |
| void grem::audio::SoundStage::scheduleSoundPause | ( | SoundInstanceID | id, |
| Duration | timePointInSound ) |
Schedule for a specific sound instance to pause itself when the playback reaches a specific time point.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| timePointInSound | the time point, measured from the beginning of the sound, where the sound instance will pause itself. |
| void grem::audio::SoundStage::setSoundLooping | ( | SoundInstanceID | id, |
| bool | newLooping ) |
Set whether a specific sound instance should repeat or stop when it ends.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| newLooping | true to set the sound to play on repeat, false to disable looping and stop the sound when it ends. |
| void grem::audio::SoundStage::seekToSoundTime | ( | SoundInstanceID | id, |
| Duration | timePointInSound ) |
Set the current playback time point of a specific sound instance.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| timePointInSound | the time point, measured from the beginning of the sound, to seek to. |
| void grem::audio::SoundStage::setSoundPosition | ( | SoundInstanceID | id, |
| vec3 | newPosition ) |
Set the current 3D position of a specific sound instance.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| newPosition | new position of the sound instance, in sound stage coordinates. |
| void grem::audio::SoundStage::setSoundVelocity | ( | SoundInstanceID | id, |
| vec3 | newVelocity ) |
Set the current 3D velocity of a specific sound instance.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| newVelocity | new linear velocity of the sound instance. |
| void grem::audio::SoundStage::setSoundPositionAndVelocity | ( | SoundInstanceID | id, |
| vec3 | newPosition, | ||
| vec3 | newVelocity ) |
Set both the 3D position and 3D velocity of a specific sound instance at the same time.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| newPosition | new position of the sound instance, in sound stage coordinates. |
| newVelocity | new linear velocity of the sound instance. |
| void grem::audio::SoundStage::setSoundPanning | ( | SoundInstanceID | id, |
| Panning | newPanning ) |
Set the panning of a specific sound instance.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| newPanning | new panning value. |
| void grem::audio::SoundStage::setSoundVolume | ( | SoundInstanceID | id, |
| float | newVolume ) |
Set the volume of a specific sound instance.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| newVolume | new volume, see SoundOptions::volume. |
| void grem::audio::SoundStage::fadeSoundVolume | ( | SoundInstanceID | id, |
| float | targetVolume, | ||
| Duration | fadeDuration ) |
Fade the volume of a specific sound instance towards a target volume over a given duration.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| targetVolume | new volume to fade towards, see SoundOptions::volume. |
| fadeDuration | duration of time to fade over. |
| void grem::audio::SoundStage::setSoundPlaybackSpeed | ( | SoundInstanceID | id, |
| float | newPlaybackSpeed ) |
Set the relative playback speed of a specific sound instance.
The effective sample rate of the playing sound is adjusted by this factor, meaning that a value of 1 represents no change, i.e. 100% of the original playback speed of the loaded sound file.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| newPlaybackSpeed | new relative playback speed. Must be greater than 0. |
| void grem::audio::SoundStage::fadeSoundPlaybackSpeed | ( | SoundInstanceID | id, |
| float | targetPlaybackSpeed, | ||
| Duration | fadeDuration ) |
Fade the relative playback speed of a specific sound instance towards a target relative playback speed over a given duration.
| id | handle to the sound instance, acquired from when the sound instance was created. |
| targetPlaybackSpeed | new relative playback speed to fade towards. Must be greater than 0. |
| fadeDuration | duration of time to fade over. |
| void grem::audio::SoundStage::setOutputChannelSpeakerPosition | ( | size_t | outputChannelIndex, |
| vec3 | newPosition ) |
Set the listener-relative speaker position of an output audio channel.
| outputChannelIndex | index of the output channel to set the speaker position of. Must be less than getOutputChannelCount(). |
| newPosition | new speaker position to set. |
| void grem::audio::SoundStage::setOutputVolume | ( | float | newVolume | ) |
Set the global master volume of the sound stage.
| newVolume | new volume, see SoundStageOptions::volume. |
| void grem::audio::SoundStage::fadeOutputVolume | ( | float | targetVolume, |
| Duration | fadeDuration ) |
Fade the global master volume of the sound stage towards a target volume over a given duration.
| targetVolume | new volume to fade towards, see SoundStageOptions::outputVolume. |
| fadeDuration | duration of time to fade over. |
| void grem::audio::SoundStage::setSpeedOfSound | ( | float | newSpeedOfSound | ) |
Set the speed of sound in the sound stage.
| newSpeedOfSound | new speed of sound, see SoundStageOptions::speedOfSound. |
| void grem::audio::SoundStage::setMaxSimultaneousSoundInstanceCount | ( | size_t | newMaxSimultaneousSoundInstanceCount | ) |
Set the maximum total number of sound instances that can play simultaneously.
| newMaxSimultaneousSoundInstanceCount | new number of sound instances, see SoundStageOptions::maxSimultaneousSoundInstanceCount. |
| void grem::audio::SoundStage::setStatisticsEnabled | ( | bool | newEnableStatistics | ) |
Set whether to enable statistics gathering or not.
Statistics gathering must be enabled in order for calculateOutputFastFourierTransformStatistics(), getOutputWaveStatistics() and getOutputChannelVolumeStatistics() to work.
| newEnableStatistics | new mode of statistics gathering to set. |
|
nodiscardnoexcept |
Get the number of output audio channels.
|
nodiscardnoexcept |
Get the listener-relative speaker position of an output audio channel.
| outputChannelIndex | index of the output channel to get the speaker position of. |
|
nodiscardnoexcept |
Get the global master volume of the sound stage.
|
nodiscardnoexcept |
Get the speed of sound in the sound stage.
|
nodiscardnoexcept |
Get the maximum total number of sound instances that can play simultaneously.
|
nodiscard |
Calculate the fast Fourier transform of the audio currently playing through the sound stage.
|
nodiscard |
Get the sound wave currently playing through the sound stage.
|
nodiscard |
Get an approximation of the volume of the audio currently playing through a specific channel of the sound stage.
| outputChannelIndex | index of the channel to get the volume of. |
|
inline |
Set the filter at a particular global filter slot of the sound stage.
This replaces any existing filter at the given slot.
| filterSlotIndex | filter slot index to set the filter of. Must be less than Sound::MAX_FILTER_COUNT. |
| newFilter | new filter to insert. |
| audio::Error | on failure to create the filter. |
| std::length_error | if the maximum filter size was exceeded. |
| std::bad_alloc | on allocation failure. |
|
noexcept |
Remove the filter at a particular global filter slot of the sound stage.
| filterSlotIndex | filter slot index to clear the filter of. Must be less than Sound::MAX_FILTER_COUNT. |
|
inline |
Set a live parameter of an active filter at a particular filter slot of a sound instance in the sound stage.
| Member | pointer-to-member of the parameter field in the filter's parameters struct to set the value of. If the given sound instance exists, its sound source must have a filter at the given slot whose parameters member is an aggregate type that is the same as this member pointer's object type. |
| id | handle to the sound instance, acquired from when the sound instance was created. |
| filterSlotIndex | filter slot index of the filter whose parameter to set. Must be less than Sound::MAX_FILTER_COUNT. |
| newValue | new value to set the parameter to. |
|
inline |
Set a live parameter of an active filter at a particular global filter slot of the sound stage.
| Member | pointer-to-member of the parameter field in the filter's parameters struct to set the value of. The sound stage must have a global filter at the given slot whose parameters member is an aggregate type that is the same as this member pointer's object type. |
| filterSlotIndex | filter slot index of the filter whose parameter to set. Must be less than Sound::MAX_FILTER_COUNT. |
| newValue | new value to set the parameter to. |
|
inline |
Fade a live parameter of an active filter at a particular filter slot of a sound instance in the sound stage towards a target value over a given duration.
| Member | pointer-to-member of the parameter field in the filter's parameters struct to fade the value of. If the given sound instance exists, its sound source must have a filter at the given slot whose parameters member is an aggregate type that is the same as this member pointer's object type. |
| id | handle to the sound instance, acquired from when the sound instance was created. |
| filterSlotIndex | filter slot index of the filter whose parameter to set. Must be less than Sound::MAX_FILTER_COUNT. |
| targetValue | new value to fade the parameter towards. |
| fadeDuration | duration of time to fade over. |
|
inline |
Fade a live parameter of an active filter at a particular global filter slot of the sound stage towards a target value over a given duration.
| Member | pointer-to-member of the parameter field in the filter's parameters struct to fade the value of. The sound stage must have a global filter at the given slot whose parameters member is an aggregate type that is the same as this member pointer's object type. |
| filterSlotIndex | filter slot index of the filter whose parameter to set. Must be less than Sound::MAX_FILTER_COUNT. |
| targetValue | new value to fade the parameter towards. |
| fadeDuration | duration of time to fade over. |
|
inlinenodiscard |
Get a live parameter of an active filter at a particular filter slot of a sound instance in the sound stage.
| Member | pointer-to-member of the parameter field in the filter's parameters struct to get the value of. If the given sound instance exists, its sound source must have a filter at the given slot whose parameters member is an aggregate type that is the same as this member pointer's object type. |
| id | handle to the sound instance, acquired from when the sound instance was created. |
| filterSlotIndex | filter slot index of the filter whose parameter to get. Must be less than Sound::MAX_FILTER_COUNT. |
|
inlinenodiscard |
Get a live parameter of an active filter at a particular global filter slot of the sound stage.
| Member | pointer-to-member of the parameter field in the filter's parameters struct to get the value of. The sound stage must have a global filter at the given slot whose parameters member is an aggregate type that is the same as this member pointer's object type. |
| filterSlotIndex | filter slot index of the filter whose parameter to get. Must be less than Sound::MAX_FILTER_COUNT. |
|
inlinenodiscardnoexcept |
Get an opaque handle to the internal representation of the sound stage.
|
inlinenodiscardnoexcept |
Get an opaque handle to the internal representation of the sound stage.