audio_manager: Remove dependence on system state

This isn't used by the class, so this can be removed for the time being.
This commit is contained in:
Lioncash 2022-09-21 09:25:00 -04:00
parent 8d4458ef24
commit b59b967280
3 changed files with 4 additions and 10 deletions

View file

@ -8,7 +8,7 @@
namespace AudioCore {
AudioCore::AudioCore(Core::System& system) : audio_manager{std::make_unique<AudioManager>(system)} {
AudioCore::AudioCore(Core::System& system) : audio_manager{std::make_unique<AudioManager>()} {
CreateSinks();
// Must be created after the sinks
adsp = std::make_unique<AudioRenderer::ADSP::ADSP>(system, *output_sink);