MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / playVideoAndAudio

Method playVideoAndAudio

src/Abyss/AbyssEngine.cpp:374–376  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372
373void AbyssEngine::playVideo(const std::string_view path) { _videoStream = std::make_unique<Streams::VideoStream>(loadFile(path), std::nullopt); }
374void AbyssEngine::playVideoAndAudio(const std::string_view videoPath, const std::string_view audioPath) {
375 _videoStream = std::make_unique<Streams::VideoStream>(loadFile(videoPath), loadFile(audioPath));
376}
377
378float AbyssEngine::getMasterVolumeLevel() const { return _masterAudioLevel; }
379

Callers 1

MainMenuMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected