aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/facade/SoundContext.cpp
blob: deb2b62cc54e619ba27abd4e8839198de7d539ed (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();
}