Use the original master tarball, not a copy from somewhere which isn't reachable any longer.
76 lines
2.4 KiB
Text
76 lines
2.4 KiB
Text
$NetBSD: patch-an,v 1.2 2004/01/18 13:59:25 mrauch Exp $
|
|
|
|
--- subband_layer_2.cc.orig 1994-06-23 14:14:36.000000000 +0200
|
|
+++ subband_layer_2.cc
|
|
@@ -591,7 +591,7 @@ void SubbandLayer2::read_scalefactor (Ib
|
|
}
|
|
|
|
|
|
-bool SubbandLayer2::read_sampledata (Ibitstream *stream)
|
|
+boolean SubbandLayer2::read_sampledata (Ibitstream *stream)
|
|
{
|
|
if (allocation)
|
|
if (groupingtable)
|
|
@@ -633,7 +633,7 @@ bool SubbandLayer2::read_sampledata (Ibi
|
|
}
|
|
|
|
|
|
-bool SubbandLayer2::put_next_sample (e_channels channels,
|
|
+boolean SubbandLayer2::put_next_sample (e_channels channels,
|
|
SynthesisFilter *filter1, SynthesisFilter *)
|
|
{
|
|
#ifdef DEBUG
|
|
@@ -644,7 +644,7 @@ bool SubbandLayer2::put_next_sample (e_c
|
|
exit (1);
|
|
}
|
|
#endif
|
|
- if (allocation && channels != right)
|
|
+ if (allocation && channels != maplay_right)
|
|
{
|
|
register real sample = samples[samplenumber];
|
|
|
|
@@ -726,7 +726,7 @@ void SubbandLayer2IntensityStereo::read_
|
|
}
|
|
|
|
|
|
-bool SubbandLayer2IntensityStereo::put_next_sample (e_channels channels,
|
|
+boolean SubbandLayer2IntensityStereo::put_next_sample (e_channels channels,
|
|
SynthesisFilter *filter1, SynthesisFilter *filter2)
|
|
{
|
|
#ifdef DEBUG
|
|
@@ -769,7 +769,7 @@ bool SubbandLayer2IntensityStereo::put_n
|
|
filter1->input_sample (sample, subbandnumber);
|
|
filter2->input_sample (sample2, subbandnumber);
|
|
}
|
|
- else if (channels == left)
|
|
+ else if (channels == maplay_left)
|
|
{
|
|
if (groupnumber <= 4)
|
|
sample *= scalefactor1;
|
|
@@ -880,9 +880,9 @@ void SubbandLayer2Stereo::read_scalefact
|
|
}
|
|
|
|
|
|
-bool SubbandLayer2Stereo::read_sampledata (Ibitstream *stream)
|
|
+boolean SubbandLayer2Stereo::read_sampledata (Ibitstream *stream)
|
|
{
|
|
- bool returnvalue = SubbandLayer2::read_sampledata (stream);
|
|
+ boolean returnvalue = SubbandLayer2::read_sampledata (stream);
|
|
|
|
if (channel2_allocation)
|
|
if (channel2_groupingtable)
|
|
@@ -919,11 +919,11 @@ bool SubbandLayer2Stereo::read_sampledat
|
|
}
|
|
|
|
|
|
-bool SubbandLayer2Stereo::put_next_sample (e_channels channels,
|
|
+boolean SubbandLayer2Stereo::put_next_sample (e_channels channels,
|
|
SynthesisFilter *filter1, SynthesisFilter *filter2)
|
|
{
|
|
- bool returnvalue = SubbandLayer2::put_next_sample (channels, filter1, filter2);
|
|
- if (channel2_allocation && channels != left)
|
|
+ boolean returnvalue = SubbandLayer2::put_next_sample (channels, filter1, filter2);
|
|
+ if (channel2_allocation && channels != maplay_left)
|
|
{
|
|
register real sample = channel2_samples[samplenumber - 1];
|
|
|