1 /*---------------------------------------------------------------------------* 2 Project: THP demo 3 File: THPAudioDecode.h 4 5 Copyright (C)2002-2006 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: THPAudioDecode.h,v $ 14 Revision 1.1 02/03/2006 10:00:34 aka 15 Imported from Dolphin tree. 16 17 18 2 02/05/14 9:26a Suzuki 19 Changed return value type and argument type of PopFreeAudioBuffer(), 20 PushFreeAudioBuffer(), PopDecodedAudioBuffer(), 21 PushDecodedAudioBuffer(). 22 23 1 02/01/16 11:03a Akagi 24 Initial revision made by Suzuki-san (IRD). 25 26 $NoKeywords: $ 27 28 *---------------------------------------------------------------------------*/ 29 30 #ifndef __THP_AUDIO_DECODE_H__ 31 #define __THP_AUDIO_DECODE_H__ 32 33 #include <revolution.h> 34 35 #ifdef __cplusplus 36 extern "C" { 37 #endif 38 39 extern BOOL CreateAudioDecodeThread(OSPriority priority, u8 *ptr); 40 extern void AudioDecodeThreadStart(void); 41 extern void AudioDecodeThreadCancel(void); 42 extern void *PopFreeAudioBuffer(); 43 extern void PushFreeAudioBuffer(void *buffer); 44 extern void *PopDecodedAudioBuffer(s32 flag); 45 extern void PushDecodedAudioBuffer(void *buffer); 46 47 #ifdef __cplusplus 48 } 49 #endif 50 51 #endif // __THP_AUDIO_DECODE_H__ 52