1 /*---------------------------------------------------------------------------* 2 Project: TwlSDK - SND - demos - seq 3 File: channel.h 4 5 Copyright 2007-2008 Nintendo. 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 $Date:: 2008-09-18#$ 14 $Rev: 8573 $ 15 $Author: okubata_ryoma $ 16 *---------------------------------------------------------------------------*/ 17 #ifndef CHANNEL_H_ 18 #define CHANNEL_H_ 19 20 #ifdef SDK_TWL 21 #include <twl.h> 22 #else 23 #include <nitro.h> 24 #endif 25 26 #ifdef __cplusplus 27 extern "C" { 28 #endif 29 30 void ChInit(void); 31 void ChSetupWave(const u8 *wave_buf); 32 void ChSetEvent(const u8 *midi_data); 33 void ChAllNoteOff(void); 34 35 #ifdef __cplusplus 36 } 37 #endif 38 39 #endif // CHANNEL_H_ 40