pkgsrc/audio/maplay/patches/patch-ae
agc 5c5fe9fed1 Fix a compilation problem on 1.6 and above.
Split patch files out into one file per patch-file.
2002-06-27 15:52:11 +00:00

38 lines
1.5 KiB
Text

$NetBSD: patch-ae,v 1.1 2002/06/27 15:52:15 agc Exp $
--- header.h 2002/06/27 15:41:04 1.1
+++ header.h 2002/06/27 15:41:40
@@ -39,7 +39,7 @@
e_mode h_mode;
e_sample_frequency h_sample_frequency;
uint32 h_number_of_subbands, h_intensity_stereo_bound;
- bool h_copyright, h_original;
+ boolean h_copyright, h_original;
Crc16 *crc;
uint16 checksum;
@@ -48,7 +48,7 @@
public:
Header (void) { crc = (Crc16 *)0; }
~Header (void) { if (crc) delete crc; }
- bool read_header (Ibitstream *, Crc16 **);
+ boolean read_header (Ibitstream *, Crc16 **);
// read a 32-bit header from the bitstream
// functions to query header contents:
@@ -58,11 +58,11 @@
uint32 frequency (void) { return frequencies[h_sample_frequency]; }
static uint32 frequency (e_sample_frequency rate) { return frequencies[rate]; }
e_mode mode (void) { return h_mode; };
- bool checksums (void) { return !h_protection_bit; }
- bool copyright (void) { return h_copyright; }
- bool original (void) { return h_original; }
+ boolean checksums (void) { return !h_protection_bit; }
+ boolean copyright (void) { return h_copyright; }
+ boolean original (void) { return h_original; }
- bool checksum_ok (void) { return checksum == crc->checksum (); }
+ boolean checksum_ok (void) { return checksum == crc->checksum (); }
// compares computed checksum with stream checksum
// functions which return header informations as strings: