summaryrefslogtreecommitdiff
path: root/libs/revolution/src/homebuttonLib/nw4hbm/snd/debug.h
blob: ec3e43277b4bc2b20cd94aff8c23eb818abd5739 (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
#ifndef NW4HBM_SND_DEBUG_H
#define NW4HBM_SND_DEBUG_H

namespace nw4hbm {
    namespace snd {

        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 {

            enum DebugSoundType {
                DEBUG_SOUND_TYPE_SEQSOUND,
                DEBUG_SOUND_TYPE_STRMSOUND,
                DEBUG_SOUND_TYPE_WAVESOUND,
            };
        }  // namespace detail
    }  // namespace snd
}  // namespace nw4hbm

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

#endif