载入中...
搜索中...
未找到
AudioFade.h
浏览该文件的文档.
1#pragma once
2#include "common/Export.h"
3
4#include "common/Result.h"
5
6namespace eve::audio {
7class Source;
8
21[[nodiscard]] EVENGINE_API_BACKENDS Result<void> crossfadeSources(Source* from, Source* to, float toVolume,
22 float durationSeconds, float now);
23} // namespace eve::audio
#define EVENGINE_API_BACKENDS
Definition Export.h:108
std::string to
std::string from
Move-only, checked operation results for the common layer.
Result< void > crossfadeSources(Source *from, Source *to, float toVolume, float durationSeconds, float now)
Cross-fade two caller-owned sources over an injected simulation interval.
Definition AudioFade.cpp:9