MCPcopy Create free account
hub / github.com/atraczyk/2d-engine / Sound

Method Sound

engine/src/sound.cpp:12–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#include <iostream>
11
12Sound::Sound()
13{
14#if defined(USE_FMOD)
15 FMOD::System_Create(&system);
16 system->init(32, FMOD_INIT_NORMAL, 0);
17#endif
18 masterVolume = DEFAULT_MASTER_VOLUME;
19 musicVolume = DEFAULT_MUSIC_VOLUME;
20 sfxVolume = DEFAULT_SFX_VOLUME;
21 cantPlayGUISound = 0;
22 cantPlaySfxSound = 0;
23}
24
25Sound::~Sound()
26{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected