pkgsrc/audio/maplay/patches/patch-ak
mrauch 4261bc65dc Fix compilation on -current (gcc3 issues).
Use the original master tarball, not a copy from somewhere which isn't
reachable any longer.
2004-01-18 13:59:25 +00:00

24 lines
845 B
Text

$NetBSD: patch-ak,v 1.2 2004/01/18 13:59:25 mrauch Exp $
--- subband.h.orig 1994-06-23 14:14:40.000000000 +0200
+++ subband.h
@@ -27,7 +27,7 @@
#include "synthesis_filter.h"
#include "crc.h"
-enum e_channels { both, left, right };
+enum e_channels { both, maplay_left, maplay_right };
// abstract base class for subband classes of layer I and II:
class Subband
@@ -35,8 +35,8 @@ class Subband
public:
virtual void read_allocation (Ibitstream *, Header *, Crc16 *) = 0;
virtual void read_scalefactor (Ibitstream *, Header *) = 0;
- virtual bool read_sampledata (Ibitstream *) = 0;
- virtual bool put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *) = 0;
+ virtual boolean read_sampledata (Ibitstream *) = 0;
+ virtual boolean put_next_sample (e_channels, SynthesisFilter *, SynthesisFilter *) = 0;
};
#endif