MCPcopy Create free account
hub / github.com/AbyssEngine/AbyssEngineOld / SoundEffectInterface

Class SoundEffectInterface

src/Abyss/Common/SoundEffectProvider.h:7–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5namespace Abyss::Common {
6
7class SoundEffectInterface {
8 public:
9 virtual ~SoundEffectInterface() = default;
10 virtual void play() = 0;
11 virtual bool getIsPlaying() = 0;
12 virtual void stop() = 0;
13 virtual void pause() = 0;
14 virtual bool getIsPaused() = 0;
15 virtual bool getLoop() = 0;
16 virtual void setLoop(bool looping) = 0;
17 virtual float getVolume() = 0;
18 virtual void setVolume(float volume) = 0;
19 virtual int16_t getSample() = 0;
20};
21
22class SoundEffectProvider {
23 public:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected