try to fix annotation errors
[IRC.git] / Robust / src / Tests / ssJava / mp3decoder / LayerIDecoder.java
index 3b2285b0781ef78e8e2753c58a277493e62d221b..89913a846eb7029f6abfed8212a99868d7ce419a 100644 (file)
@@ -38,7 +38,7 @@
     @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);
-               
        }
 
 //     /**