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