service/audio: Remove global system accessors

Trims out the lingering reliance on global state out of the audio code.
This commit is contained in:
Lioncash
2019-07-19 03:22:57 -04:00
parent 7653e4babc
commit ed0485c599
7 changed files with 54 additions and 34 deletions

View File

@ -206,7 +206,7 @@ void Init(std::shared_ptr<SM::ServiceManager>& sm, Core::System& system) {
AM::InstallInterfaces(*sm, nv_flinger, system);
AOC::InstallInterfaces(*sm);
APM::InstallInterfaces(system);
Audio::InstallInterfaces(*sm);
Audio::InstallInterfaces(*sm, system);
BCAT::InstallInterfaces(*sm);
BPC::InstallInterfaces(*sm);
BtDrv::InstallInterfaces(*sm);