private void decodeTonesPhase(int chNum,boolean bandHasTones[]){
  WavesData dst[]=ctx.channels[chNum].tonesInfo;
  for (int sb=0; sb < ctx.wavesInfo.numToneBands; sb++) {
    if (!bandHasTones[sb]) {
      continue;
    }
    int wparam=dst[sb].startIndex;
    for (int i=0; i < dst[sb].numWavs; i++) {
      ctx.wavesInfo.waves[wparam + i].phaseIndex=br.read(5);
    }
  }
}

private void decodeTonesPhase ( int chNum , boolean bandHasTones [ ] ) { WavesData dst [ ] = ctx . channels [ chNum ] . tonesInfo ; for ( int sb = 0 ; sb < ctx . wavesInfo . numToneBands ; sb ++ ) { if ( ! bandHasTones [ sb ] ) { continue ; } int wparam = dst [ sb ] . startIndex ; for ( int i = 0 ; i < dst [ sb ] . numWavs ; i ++ ) { ctx . wavesInfo . waves [ wparam + i ] . phaseIndex = br . read ( 5 ) ; } } }
decode phase information for each subband of a channel .
