21 class DtProceduralSound;
22 class DtProceduralSoundBehavior;
57 virtual void tick(
double dt,
float relativeDb);
65 virtual const std::string& channelName()
const;
72 virtual bool hasEverStarted()
const;
75 virtual bool isActive()
const;
78 virtual float lastRelativeDb()
const;
83 virtual double lastSignedDistanceMeters()
const;
86 virtual void setLastSignedDistanceMeters(
double d);
101 virtual void setLastProximityFactor(
float factor);
113 virtual void setChannelDecibels(
float dbfs);
116 virtual float channelDecibels()
const;
121 float myLastRelativeDb = 0.0f;
122 double myLastSignedDistanceMeters = 1.0e9;
123 bool myHasEverStarted =
false;
128 float myChannelDecibelsDbfs = 0.0f;
137 float myLastProximityFactor = 0.0f;
std::unique_ptr< DtProceduralSound > mySound
Definition: DtProceduralSoundPlayer.h:130
std::unique_ptr< DtProceduralSoundBehavior > myBehavior
Definition: DtProceduralSoundPlayer.h:136
DtProceduralSoundscapeChannel myChannel
Definition: DtProceduralSoundPlayer.h:120
Contains the DLL export macro for vrvAudio classes.
Composes multiple DtProceduralSoundLayer pools into one streaming ambient sound.
Definition: DtProceduralSound.h:61
Contains the declarations for the makVrv ambient sound channel types.
Runtime player for one procedural ambient sound channel.
Definition: DtProceduralSoundPlayer.h:36
DtDe & myDe
Definition: DtProceduralSoundPlayer.h:119
Optional per-channel behavior hook for DtProceduralSoundPlayer.
Definition: DtProceduralSoundBehavior.h:40
Configuration for one ambient sound channel.
Definition: DtProceduralSoundscapeChannel.h:114
#define DT_DLL_VRVAUDIO
Definition: vrvAudio.h:20
The DtDe is the core component of any VR-Vantage application. It owns a DtRenderer, DtDeCommunicator, as well as a DtDisplay and other things.
Definition: DtDe.h:76