refactor: add ContentControl class
This commit is contained in:
@@ -71,8 +71,8 @@ inline audio::speakerid_t play_stream(
|
||||
if (std::strchr(filename, ':')) {
|
||||
file = std::string(filename);
|
||||
} else {
|
||||
auto paths = scripting::engine->getResPaths();
|
||||
file = paths->find(filename);
|
||||
const auto& paths = scripting::engine->getResPaths();
|
||||
file = paths.find(filename);
|
||||
}
|
||||
return audio::play_stream(
|
||||
file,
|
||||
|
||||
Reference in New Issue
Block a user