1 /*---------------------------------------------------------------------------*
2   Project:  TwlSDK - include - snd - common
3   File:     data.h
4 
5   Copyright 2004-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   $Date:: 2008-09-18#$
14   $Rev: 8573 $
15   $Author: okubata_ryoma $
16  *---------------------------------------------------------------------------*/
17 
18 #ifndef NITRO_SND_COMMON_DATA_H_
19 #define NITRO_SND_COMMON_DATA_H_
20 
21 #include <nitro/types.h>
22 
23 #ifdef __cplusplus
24 extern "C" {
25 #endif
26 
27 /******************************************************************************
28 	structure definition
29  ******************************************************************************/
30 
31 typedef struct SNDBinaryFileHeader
32 {
33     char    signature[4];
34     u16     byteOrder;
35     u16     version;
36     u32     fileSize;
37     u16     headerSize;
38     u16     dataBlocks;
39 }
40 SNDBinaryFileHeader;
41 
42 typedef struct SNDBinaryBlockHeader
43 {
44     u32     kind;
45     u32     size;
46 }
47 SNDBinaryBlockHeader;
48 
49 #ifdef __cplusplus
50 } /* extern "C" */
51 #endif
52 
53 #endif /* NITRO_SND_COMMON_DATA_H_ */
54