1 /*---------------------------------------------------------------------------* 2 Project: NintendoWare 3 File: snd_Config.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: 23170 $ 14 *---------------------------------------------------------------------------*/ 15 16 #ifndef NW_SND_CONFIG_H_ 17 #define NW_SND_CONFIG_H_ 18 19 #include <nn/version.h> 20 21 22 // ----------------------------------------------------------------------------- 23 // SDK のバージョン依存マクロ定義 24 25 #if NN_CURRENT_VERSION_NUMBER >= NN_VERSION_NUMBER(0,13,0,0) 26 #define NW_SND_AVAILABLE_NN_SND_STARTSOUNDTHREAD 27 #endif 28 29 #if NN_CURRENT_VERSION_NUMBER < NN_VERSION_NUMBER(0,14,0,0) 30 #define NW_SND_CONFIG_AVOID_NN_SND_AUXCALLBACK_BUG 31 #endif 32 33 #if NN_CURRENT_VERSION_NUMBER >= NN_VERSION_NUMBER(0,14,0,0) 34 #define NW_SND_AVAILABLE_NN_SND_STARTSOUNDTHREAD2 35 #define NW_SND_CONFIG_USE_INTERCORE_CRITICALSECTION 36 #define NW_SND_AVAILABLE_NN_BOTH_FILTER // lpf/biquad 両方同時に利用可能 37 #define NW_SND_AVAILABLE_NN_EFFECT // nn::snd::Fx{Delay,Reverb} 利用可能 38 #endif 39 40 #if NN_CURRENT_VERSION_NUMBER >= NN_VERSION_NUMBER(0,14,15,0) 41 #define NW_SND_CONFIG_USE_NN_SND_LOCKSOUNDTHREAD 42 #endif 43 44 #endif /* NW_SND_CONFIG_H_ */ 45 46