1 /*--------------------------------------------------------------------------* 2 Project: Revolution SOUNDFILE dynamic link library 3 File: endian.h 4 5 Copyright (C)2001-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: endian.h,v $ 14 Revision 1.2 02/09/2006 06:51:39 aka 15 Changed copyright. 16 17 18 *--------------------------------------------------------------------------*/ 19 #ifndef __ENDIAN_H__ 20 #define __ENDIAN_H__ 21 22 #include "Types.h" 23 24 u32 reverse_endian_32(u32 i); 25 u16 reverse_endian_16(u16 i); 26 void reverse_buffer_16(u16 *p, int samples); 27 28 #endif // __ENDIAN_H__ 29 30