MCPcopy Create free account
hub / github.com/Aloshi/EmulationStation / deinit

Method deinit

src/AudioManager.cpp:103–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void AudioManager::deinit()
104{
105 //stop all playback
106 stop();
107 //completely tear down SDL audio. else SDL hogs audio resources and emulators might fail to start...
108 SDL_CloseAudio();
109 SDL_QuitSubSystem(SDL_INIT_AUDIO);
110}
111
112void AudioManager::registerSound(std::shared_ptr<Sound> & sound)
113{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected