diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2023-09-07 11:15:56 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2023-09-07 11:15:56 -0400 |
commit | b8e67774397f2878aafc5906845f5f738e00c408 (patch) | |
tree | 02ed12e0d5534fbf71f3ab8ce222d7508d73166d /indra/llaudio/llaudioengine.h | |
parent | 755f9d9ac9548e27d68ec701676e20c4824833f8 (diff) | |
parent | d454512050e636a19e4b7545515dea4f4b1bbf0d (diff) |
SL-18837: Merge branch 'main' into actions
Diffstat (limited to 'indra/llaudio/llaudioengine.h')
-rwxr-xr-x | indra/llaudio/llaudioengine.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/indra/llaudio/llaudioengine.h b/indra/llaudio/llaudioengine.h index cf694cfaf4..c045d18c42 100755 --- a/indra/llaudio/llaudioengine.h +++ b/indra/llaudio/llaudioengine.h @@ -91,6 +91,7 @@ public: // initialization/startup/shutdown virtual bool init(void *userdata, const std::string &app_title); virtual std::string getDriverName(bool verbose) = 0; + virtual LLStreamingAudioInterface *createDefaultStreamingAudioImpl() const = 0; virtual void shutdown(); // Used by the mechanics of the engine @@ -469,13 +470,13 @@ struct SoundData const LLUUID& owner_id, const F32 gain, const S32 type = LLAudioEngine::AUDIO_TYPE_NONE, - const LLVector3d &pos_global = LLVector3d::zero) + const LLVector3d &pos_global = LLVector3d::zero) : + audio_uuid(audio_uuid), + owner_id(owner_id), + gain(gain), + type(type), + pos_global(pos_global) { - this->audio_uuid = audio_uuid; - this->owner_id = owner_id; - this->gain = gain; - this->type = type; - this->pos_global = pos_global; } }; |