1 --- fmtheaders.h.old 2005-10-08 12:40:53.000000000 +0200
2 +++ fmtheaders.h 2005-10-08 12:41:38.000000000 +0200
4 #define _FMTHEADERS_H 1
7 +#include <asm/types.h>
9 /* Definitions for .VOC files */
13 typedef struct wavhead
15 - u_long main_chunk; /* 'RIFF' */
16 - u_long length; /* Length of rest of file */
17 - u_long chunk_type; /* 'WAVE' */
18 + __u32 main_chunk; /* 'RIFF' */
19 + __u32 length; /* Length of rest of file */
20 + __u32 chunk_type; /* 'WAVE' */
22 - u_long sub_chunk; /* 'fmt ' */
23 - u_long sc_len; /* length of sub_chunk, =16 (rest of chunk) */
24 + __u32 sub_chunk; /* 'fmt ' */
25 + __u32 sc_len; /* length of sub_chunk, =16 (rest of chunk) */
26 u_short format; /* should be 1 for PCM-code */
27 u_short modus; /* 1 Mono, 2 Stereo */
28 - u_long sample_fq; /* frequence of sample */
30 + __u32 sample_fq; /* frequence of sample */
32 u_short byte_p_spl; /* samplesize; 1 or 2 bytes */
33 u_short bit_p_spl; /* 8, 12 or 16 bit */
35 - u_long data_chunk; /* 'data' */
36 - u_long data_length; /* samplecount (lenth of rest of block?) */
37 + __u32 data_chunk; /* 'data' */
38 + __u32 data_length; /* samplecount (lenth of rest of block?) */