载入中...
搜索中...
未找到
AudioZone.h
浏览该文件的文档.
40 float trackStarted=0.f,fadeInEnds=0.f,fadeOutBegins=0.f,fadeOutEnds=0.f,nextTrackStarts=0.f,deactivateAt=0.f;
55[[nodiscard]] EVENGINE_API_BACKENDS Result<AudioZoneOutput> evaluateAudioZone(const AudioZoneProfile& profile,
61[[nodiscard]] EVENGINE_API_BACKENDS Result<void> applyAudioZoneOutput(Source* source, const AudioZoneOutput& output);
Move-only, checked operation results for the common layer.
Caller-owned Pcg audio-zone configuration and track list.
Definition AudioZone.h:18
A playable audio source (static buffer or streaming decoder). Not thread-safe for playback control ex...
Definition Source.h:30
Definition Audio.cpp:23
Result< AudioZoneOutput > evaluateAudioZone(const AudioZoneProfile &p, AudioZoneState &state, float now, float px, float py, float pz, float master, std::uint32_t seed)
Evaluate PcgAudioManager/PcgAudioZone for one explicit time and player observation.
Definition AudioZone.cpp:21
Result< void > applyAudioZoneOutput(Source *source, const AudioZoneOutput &output)
Apply one evaluated command to the caller-selected track Source without retaining it.
Definition AudioZone.cpp:59
@ BecomingInactive
@ Inactive
Commands to apply to a caller-owned audio Source.
Definition AudioZone.h:43