1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: snd_Debug.h 4 5 Copyright (C)2009-2011 Nintendo/HAL Laboratory, Inc. All rights reserved. 6 7 These coded instructions, statements, and computer programs contain proprietary 8 information of Nintendo and/or its licensed developers and are protected by 9 national and international copyright laws. They may not be disclosed to third 10 parties or copied or duplicated in any form, in whole or in part, without the 11 prior written consent of Nintendo. 12 13 The content herein is highly confidential and should be handled accordingly. 14 15 $Revision: 31311 $ 16 *---------------------------------------------------------------------------*/ 17 18 #ifndef NW_SND_DEBUG_H_ 19 #define NW_SND_DEBUG_H_ 20 21 namespace nw { 22 namespace snd { 23 24 //! @details :private 25 enum DebugWarningFlag 26 { 27 DEBUG_WARNING_NOT_ENOUGH_INSTANCE, 28 DEBUG_WARNING_NOT_ENOUGH_SEQSOUND, 29 DEBUG_WARNING_NOT_ENOUGH_STRMSOUND, 30 DEBUG_WARNING_NOT_ENOUGH_WAVESOUND, 31 DEBUG_WARNING_NOT_ENOUGH_SEQTRACK, 32 DEBUG_WARNING_NOT_ENOUGH_STRMCHANNEL 33 }; 34 35 //! @details :private 36 void Debug_SetWarningFlag( DebugWarningFlag warning, bool enable ); 37 38 39 /* ======================================================================== 40 非公開 41 ======================================================================== */ 42 43 namespace internal { 44 45 enum DebugSoundType 46 { 47 DEBUG_SOUND_TYPE_SEQSOUND, 48 DEBUG_SOUND_TYPE_STRMSOUND, 49 DEBUG_SOUND_TYPE_WAVESOUND 50 }; 51 52 bool Debug_GetWarningFlag( DebugWarningFlag warning ); 53 DebugWarningFlag Debug_GetDebugWarningFlagFromSoundType( DebugSoundType type ); 54 const char* Debug_GetSoundTypeString( DebugSoundType type ); 55 56 } // namespace nw::snd::internal 57 } // namespace nw::snd 58 } // namespace nw 59 60 61 #endif /* NW_SND_DEBUG_H_ */ 62 63