summaryrefslogtreecommitdiff
path: root/include/nw4r/snd/snd_debug.h
blob: 06ae307ee24963e0bf077fad599cd130bbd1fe27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
#ifndef NW4R_SND_DEBUG_H
#define NW4R_SND_DEBUG_H

/*******************************************************************************
 * types
 */

namespace nw4r { namespace snd
{
	// [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x2bd7b3
	enum DebugWarningFlag
	{
		DEBUG_WARNING_NOT_ENOUGH_INSTANCE,
		DEBUG_WARNING_NOT_ENOUGH_SEQSOUND,
		DEBUG_WARNING_NOT_ENOUGH_STRMSOUND,
		DEBUG_WARNING_NOT_ENOUGH_WAVESOUND,
		DEBUG_WARNING_NOT_ENOUGH_SEQTRACK,
		DEBUG_WARNING_NOT_ENOUGH_STRMCHANNEL,
	};

	namespace detail
	{
		// [R89JEL]:/bin/RVL/Debug/mainD.elf:.debug::0x2ec85
		enum DebugSoundType
		{
			DEBUG_SOUND_TYPE_SEQSOUND,
			DEBUG_SOUND_TYPE_STRMSOUND,
			DEBUG_SOUND_TYPE_WAVESOUND,
		};
	} // namespace detail
}} // namespace nw4r::snd

/*******************************************************************************
 * classes and functions
 */

namespace nw4r { namespace snd { namespace detail
{
	bool Debug_GetWarningFlag(DebugWarningFlag warning);
	DebugWarningFlag Debug_GetDebugWarningFlagFromSoundType(
		DebugSoundType type);
	char const *Debug_GetSoundTypeString(DebugSoundType type);
}}} // namespace nw4r::snd::detail

#endif // NW4R_SND_DEBUG_H