@LOC("H") protected SynthesisFilter filter2;
@LOC("H") protected Obuffer buffer;
@LOC("H") protected int which_channels;
- @LOC("H") protected int mode;
+ @LOC("SH") protected int mode;
@LOC("SH") protected int num_subbands;
@LOC("L") protected Subband[] subbands;
protected void readSampleData()
{
- @LOC("SH") boolean read_ready = false;
- @LOC("SH") boolean write_ready = false;
- @LOC("OUT") int mode = header.mode();
- @LOC("SH") int i;
- do
- {
- for (i = 0; i < num_subbands; ++i)
- read_ready = subbands[i].read_sampledata(stream);
- do
- {
- for (i = 0; i < num_subbands; ++i)
- write_ready = subbands[i].put_next_sample(which_channels,filter1, filter2);
+ @LOC("SH") boolean read_ready = false;
+ @LOC("SH") boolean write_ready = false;
+ @LOC("OUT") int mode = header.mode();
+ @LOC("SH") int i;
+ do
+ {
+ for (i = 0; i < num_subbands; ++i)
+ read_ready = subbands[i].read_sampledata(stream); // DELTA[Loc[readSampleData.V],Loc[LayerIDecoder.L]]
+ do
+ {
+ for (i = 0; i < num_subbands; ++i)
+ write_ready = subbands[i].put_next_sample(which_channels,filter1, filter2);
+
+ filter1.calculate_pcm_samples(buffer);
+ if ((which_channels == OutputChannels.BOTH_CHANNELS) && (mode != Header.SINGLE_CHANNEL))
+ filter2.calculate_pcm_samples(buffer);
+ } while (!write_ready);
+ } while (!read_ready);
- filter1.calculate_pcm_samples(buffer);
- if ((which_channels == OutputChannels.BOTH_CHANNELS) && (mode != Header.SINGLE_CHANNEL))
- filter2.calculate_pcm_samples(buffer);
- } while (!write_ready);
- } while (!read_ready);
-
}
// /**