1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-27 21:29:02 +00:00
freebsd-ports/audio/maplay/files/patch-ae
Steve Price 0d8aabec62 Honor CFLAGS/CXXFLAGS and get this to compile on systems with egcs
as the system compiler.

PR:		15077
Submitted by:	KATO Tsuguru <tkato@prontomail.ne.jp>
1999-11-26 22:25:13 +00:00

21 lines
705 B
Plaintext

--- header.cc.orig Thu Jun 23 07:14:35 1994
+++ header.cc Fri Nov 26 16:18:21 1999
@@ -36,7 +36,7 @@
const uint32 Header::frequencies[3] = { 44100, 48000, 32000 };
-bool Header::read_header (Ibitstream *stream, Crc16 **crcp)
+boolean Header::read_header (Ibitstream *stream, Crc16 **crcp)
{
uint32 headerstring;
@@ -161,7 +161,7 @@
static const int32 bitrates_layer_2[15] = {
0 /*free format*/, 32000, 48000, 56000, 64000, 80000, 96000,
112000, 128000, 160000, 192000, 224000, 256000, 320000, 384000 };
- static const samplefrequencies[3] = { 44100, 48000, 32000 };
+ static const int32 samplefrequencies[3] = { 44100, 48000, 32000 };
uint32 framesize;
if (h_layer == 1)