/*---------------------------------------------------------------------------* Project: THP demo File: THPAudioDecode.h Copyright (C)2002-2006 Nintendo All Rights Reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Log: THPAudioDecode.h,v $ Revision 1.1 02/03/2006 10:00:34 aka Imported from Dolphin tree. 2 02/05/14 9:26a Suzuki Changed return value type and argument type of PopFreeAudioBuffer(), PushFreeAudioBuffer(), PopDecodedAudioBuffer(), PushDecodedAudioBuffer(). 1 02/01/16 11:03a Akagi Initial revision made by Suzuki-san (IRD). $NoKeywords: $ *---------------------------------------------------------------------------*/ #ifndef __THP_AUDIO_DECODE_H__ #define __THP_AUDIO_DECODE_H__ #include #ifdef __cplusplus extern "C" { #endif extern BOOL CreateAudioDecodeThread(OSPriority priority, u8 *ptr); extern void AudioDecodeThreadStart(void); extern void AudioDecodeThreadCancel(void); extern void *PopFreeAudioBuffer(); extern void PushFreeAudioBuffer(void *buffer); extern void *PopDecodedAudioBuffer(s32 flag); extern void PushDecodedAudioBuffer(void *buffer); #ifdef __cplusplus } #endif #endif // __THP_AUDIO_DECODE_H__