summaryrefslogtreecommitdiff
path: root/audio/maplay/patches/patch-ak
blob: 2893a8ce579a0370f163cf753369961a23d60308 (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
$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