* Calculate 32 PCM samples and put the into the Obuffer-object.\r
*/\r
\r
- @LATTICE("V<THIS,THIS<SH,SH*,THISLOC=THIS") \r
- public void calculate_pcm_samples(@LOC("V") Obuffer buffer)\r
- {\r
- compute_new_v(); \r
- compute_pcm_samples(buffer);\r
- \r
- actual_write_pos = (actual_write_pos + 1) & 0xf;\r
-// actual_v = (actual_v == v1) ? v2 : v1;\r
-\r
- // initialize samples[]: \r
- //for (register float *floatp = samples + 32; floatp > samples; )\r
- // *--floatp = 0.0f; \r
- \r
- // MDM: this may not be necessary. The Layer III decoder always\r
- // outputs 32 subband samples, but I haven't checked layer I & II.\r
- for (@LOC("SH") int p=0;p<32;p++) \r
- samples[p] = 0.0f;\r
+ @LATTICE("THIS<IN,THIS<SH,SH*,THISLOC=THIS")\r
+ public void calculate_pcm_samples(@LOC("IN") Obuffer buffer) {\r
+ compute_new_v();\r
+ compute_pcm_samples(buffer);\r
+\r
+ actual_write_pos = (actual_write_pos + 1) & 0xf;\r
+ // actual_v = (actual_v == v1) ? v2 : v1;\r
+\r
+ // initialize samples[]:\r
+ // for (register float *floatp = samples + 32; floatp > samples; )\r
+ // *--floatp = 0.0f;\r
+\r
+ // MDM: this may not be necessary. The Layer III decoder always\r
+ // outputs 32 subband samples, but I haven't checked layer I & II.\r
+ for (@LOC("SH") int p = 0; p < 32; p++)\r
+ samples[p] = 0.0f;\r
}\r
\r
\r