aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/SoundContext.cpp
blob: 72047d29acdd130d657bba71d979d618b8c9d40e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#include "util/log.h"

#include "SoundContext.h"

using namespace crepe;

SoundContext & SoundContext::get_instance() {
	static SoundContext instance;
	return instance;
}

SoundContext::SoundContext() {
	dbg_trace();
	engine.init();
}

SoundContext::~SoundContext() {
	dbg_trace();
	engine.deinit();
}