blob: a2ab74e5c81d51c3bfe2b98e8134ad64e115e886 (
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
|
$NetBSD: patch-aq,v 1.1 2001/11/18 15:03:39 itohy Exp $
--- src/riff.h.orig Thu Aug 13 08:27:10 1998
+++ src/riff.h Sun Nov 18 21:10:34 2001
@@ -17,20 +17,20 @@
#define RIFF_IDVI_ADPCM 1024
typedef struct {
- long riff;
- ulong length;
- long wave;
+ int32_t riff;
+ u_int32_t length;
+ int32_t wave;
} RiffHeader;
typedef struct {
- long fmt;
- ulong chunk_length;
- short format;
- short modus;
- ulong freq;
- ulong bpsec;
- short bpspl;
- short res;
+ int32_t fmt;
+ u_int32_t chunk_length;
+ int16_t format;
+ int16_t modus;
+ u_int32_t freq;
+ u_int32_t bpsec;
+ int16_t bpspl;
+ int16_t res;
} FmtHeader;
bool is_riff(int fd);
|