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