1 /*---------------------------------------------------------------------------* 2 Project: MIDI adaptor sample demo 3 File: midiqueue.h 4 Programmer: HIRATSU Daisuke 5 6 Copyright (C) 2007 Nintendo All rights reserved. 7 8 These coded instructions, statements, and computer programs contain 9 proprietary information of Nintendo of America Inc. and/or Nintendo 10 Company Ltd., and are protected by Federal copyright law. They may 11 not be disclosed to third parties or copied or duplicated in any form, 12 in whole or in part, without the prior written consent of Nintendo. 13 14 $Log: midiqueue.h,v $ 15 Revision 1.2 2007/04/17 08:25:02 hiratsu 16 Refactoring. 17 18 Revision 1.1 2007/04/13 08:40:26 hiratsu 19 Initial check-in. 20 21 *---------------------------------------------------------------------------*/ 22 23 #ifndef MIDIQUEUE_H 24 #define MIDIQUEUE_H 25 26 #include <revolution.h> 27 28 void push(u8 a); 29 void pop(void); 30 BOOL front(u8 msg[3]); 31 BOOL isReady(void); 32 BOOL isSupportedCommand(const u8 cmd[3]); 33 34 35 #endif // end of MIDIQUEUE_H 36