1 /*---------------------------------------------------------------------------* 2 Project: Revolution PMIC simple demo 3 File: audio.h 4 5 Copyright (C)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 $Log: audio.h,v $ 14 Revision 1.3 2008/08/06 01:39:08 carlmu 15 Added graphic demo. 16 17 Revision 1.2 2008/08/04 23:51:47 carlmu 18 Added quit function for audio. 19 20 Revision 1.1 2008/01/22 02:49:48 aka 21 initial check-in. 22 23 $NoKeywords: $ 24 *---------------------------------------------------------------------------*/ 25 26 #ifndef __AUDIO_H__ 27 #define __AUDIO_H__ 28 29 /*---------------------------------------------------------------------------* 30 definitions 31 *---------------------------------------------------------------------------*/ 32 33 typedef void* (*MicFunc) ( void *param ); 34 35 /*---------------------------------------------------------------------------* 36 functions 37 *---------------------------------------------------------------------------*/ 38 39 BOOL AUDIOInit ( MEMHeapHandle* heap, MicFunc procFunc ); 40 void AUDIOQuit ( void ); 41 void AUDIOStartPlay ( void ); 42 void AUDIOStopPlay ( void ); 43 44 void AUDIOSleepThread ( void ); 45 46 #endif // __AUDIO_H__ 47