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