| 6 | namespace Abyss::Streams { |
| 7 | |
| 8 | SoundEffect::SoundEffect(std::unique_ptr<AudioStream> audioStream) : _audioStream(std::move(audioStream)), _mutex() { |
| 9 | _audioStream->stop(); |
| 10 | |
| 11 | Singletons::getSoundEffectProvider().addSoundEffect(this); |
| 12 | } |
| 13 | |
| 14 | SoundEffect::~SoundEffect() { Singletons::getSoundEffectProvider().removeSoundEffect(this); } |
| 15 |
nothing calls this directly
no test coverage detected