| 549 | } |
| 550 | |
| 551 | AudioConstPtr Assets::audio(String const& path) const { |
| 552 | auto components = AssetPath::split(path); |
| 553 | validatePath(components, false, false); |
| 554 | |
| 555 | return as<AudioData>(getAsset(AssetId{AssetType::Audio, std::move(components)}))->audio; |
| 556 | } |
| 557 | |
| 558 | void Assets::queueAudios(StringList const& paths) const { |
| 559 | queueAssets(paths.transformed([](String const& path) { |
no test coverage detected