jmp123.decoder
类 Synthesis

java.lang.Object
  继承者 jmp123.decoder.Synthesis

public class Synthesis
extends java.lang.Object

子带多相合成滤波。

版本:
0.400

构造方法摘要
Synthesis(int nch)
          子带多相合成滤波构造器。
 
方法摘要
 int synthesisSubBand(float[] samples, int ch, byte[] b, int off)
          一个子带多相合成滤波。
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Synthesis

public Synthesis(int nch)
子带多相合成滤波构造器。

参数:
nch - 声道数,用于计算输出PCM时的步长值。
方法详细信息

synthesisSubBand

public int synthesisSubBand(float[] samples,
                            int ch,
                            byte[] b,
                            int off)
一个子带多相合成滤波。

参数:
samples - 源数据,为32个样本值。
ch - 当前的声道。左声道0,右声道1。
b - 接收输出结果的PCM缓冲区。
off - 缓冲区 b 的下标,本次开始向 b 写入数据的起始位置。
返回:
缓冲区 b 的下标,本次向 b 写入的结束位置。