Skip to content

Commit

Permalink
fix: audio volume setting not applied on load
Browse files Browse the repository at this point in the history
  • Loading branch information
MihailRis committed Jun 5, 2024
1 parent ad62b75 commit 8700f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ inline void create_channel(Engine* engine, std::string name, NumberSetting& sett
}
engine->keepAlive(setting.observe([=](auto value) {
audio::get_channel(name)->setVolume(value*value);
}));
}, true));
}

Engine::Engine(EngineSettings& settings, SettingsHandler& settingsHandler, EnginePaths* paths)
Expand Down

0 comments on commit 8700f89

Please sign in to comment.