freebsd-ports/audio/maplay/files/patch-subband_layer_2.cc
Adam Weinberger e40587d4d3 Fix build and clean up, mostly by renaming patches.
Interestingly, the build failure and one of the sed commands in the post-patch
target were both due to problems introduced by one of the patches.
2014-07-27 13:35:15 +00:00

97 lines
2.3 KiB
C++

*** subband_layer_2.cc.orig Thu Jun 23 21:14:36 1994
--- subband_layer_2.cc Thu Dec 9 05:32:19 1999
***************
*** 591,597 ****
}
! bool SubbandLayer2::read_sampledata (Ibitstream *stream)
{
if (allocation)
if (groupingtable)
--- 591,597 ----
}
! boolean SubbandLayer2::read_sampledata (Ibitstream *stream)
{
if (allocation)
if (groupingtable)
***************
*** 633,639 ****
}
! bool SubbandLayer2::put_next_sample (e_channels channels,
SynthesisFilter *filter1, SynthesisFilter *)
{
#ifdef DEBUG
--- 633,639 ----
}
! boolean SubbandLayer2::put_next_sample (e_channels channels,
SynthesisFilter *filter1, SynthesisFilter *)
{
#ifdef DEBUG
***************
*** 726,732 ****
}
! bool SubbandLayer2IntensityStereo::put_next_sample (e_channels channels,
SynthesisFilter *filter1, SynthesisFilter *filter2)
{
#ifdef DEBUG
--- 726,732 ----
}
! boolean SubbandLayer2IntensityStereo::put_next_sample (e_channels channels,
SynthesisFilter *filter1, SynthesisFilter *filter2)
{
#ifdef DEBUG
***************
*** 880,888 ****
}
! bool SubbandLayer2Stereo::read_sampledata (Ibitstream *stream)
{
! bool returnvalue = SubbandLayer2::read_sampledata (stream);
if (channel2_allocation)
if (channel2_groupingtable)
--- 880,888 ----
}
! boolean SubbandLayer2Stereo::read_sampledata (Ibitstream *stream)
{
! boolean returnvalue = SubbandLayer2::read_sampledata (stream);
if (channel2_allocation)
if (channel2_groupingtable)
***************
*** 919,928 ****
}
! bool 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)
{
register real sample = channel2_samples[samplenumber - 1];
--- 919,928 ----
}
! boolean SubbandLayer2Stereo::put_next_sample (e_channels channels,
SynthesisFilter *filter1, SynthesisFilter *filter2)
{
! boolean returnvalue = SubbandLayer2::put_next_sample (channels, filter1, filter2);
if (channel2_allocation && channels != left)
{
register real sample = channel2_samples[samplenumber - 1];