| 101 | } |
| 102 | |
| 103 | void 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 | |
| 112 | void AudioManager::registerSound(std::shared_ptr<Sound> & sound) |
| 113 | { |
nothing calls this directly
no outgoing calls
no test coverage detected