updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / gramofile / gramofile-1.6-64bit.patch
blob6d127ae1a6673e664933b856fb12d7a4ec52a85f
1 --- fmtheaders.h.old 2005-10-08 12:40:53.000000000 +0200
2 +++ fmtheaders.h 2005-10-08 12:41:38.000000000 +0200
3 @@ -2,6 +2,7 @@
4 #define _FMTHEADERS_H 1
6 #include <sys/types.h>
7 +#include <asm/types.h>
9 /* Definitions for .VOC files */
11 @@ -62,21 +63,21 @@
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 */
29 - u_long byte_p_sec;
30 + __u32 sample_fq; /* frequence of sample */
31 + __u32 byte_p_sec;
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?) */
40 wavhead;