/******************************************************************************

    wavfilt --- SSKFバンクによる8帯域分割と非線形量子化

      version 3.50                           by とご(電脳わ〜るど:DW0243)

    02/19/1995                                           "buffer.h"

    作業用のバッファを定義します。左右のトラックを別々に処理するため同じ役割の
  バッファを２つ用意しました。帯域分割は１つのバッファの内容を処理したデータを
  ２つの子バッファに記憶します。その子バッファの内容を処理して孫バッファに記憶
  します。これを繰り返して８つのバッファに３回帯域分割したデータを記憶します。
  これを次は量子化と外部装置への書き込みに使います。
    なお定義しているのはバッファ領域へのポインタだけで、領域の実体は別に用意す
  るルーチンを使って確保しています。

 *****************************************************************************/

/*** 作業用バッファ ***/
#ifdef __MAIN__
short *buffer;
int *l_lowhigh0,
    *l_low1,*l_high1,
    *l_low2_1,*l_low2_2,*l_high2_1,*l_high2_2,
    *l_low3_1,*l_low3_2,*l_low3_3,*l_low3_4,
    *l_high3_1,*l_high3_2,*l_high3_3,*l_high3_4;
int *r_lowhigh0,
    *r_low1,*r_high1,
    *r_low2_1,*r_low2_2,*r_high2_1,*r_high2_2,
    *r_low3_1,*r_low3_2,*r_low3_3,*r_low3_4,
    *r_high3_1,*r_high3_2,*r_high3_3,*r_high3_4;
#else
extern short *buffer;
extern int *l_lowhigh0,*l_low1,*l_high1,
           *l_low2_1,*l_low2_2,*l_high2_1,*l_high2_2,
           *l_low3_1,*l_low3_2,*l_low3_3,*l_low3_4,
           *l_high3_1,*l_high3_2,*l_high3_3,*l_high3_4;

extern int *r_lowhigh0,*r_low1,*r_high1,
           *r_low2_1,*r_low2_2,*r_high2_1,*r_high2_2,
           *r_low3_1,*r_low3_2,*r_low3_3,*r_low3_4,
           *r_high3_1,*r_high3_2,*r_high3_3,*r_high3_4;
#endif
