aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/SoundContext.cpp
blob: cfb7d825f52f9c0879fee298ec2faf513907241e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#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();
}