org.tritonus.lowlevel.pvorbis
Class DspState

java.lang.Object
  extended by org.tritonus.lowlevel.pvorbis.DspState

public class DspState
extends java.lang.Object

Wrapper for vorbis_dsp_state.


Constructor Summary
DspState()
           
 
Method Summary
 int blockIn_native(Block block)
          Calls vorbis_synthesis_blockin().
 int blockIn(Block block)
          Calls vorbis_synthesis_blockin().
 int blockOut_native(Block block)
          Calls vorbis_analysis_blockout().
 int blockOut(Block block)
          Calls vorbis_analysis_blockout().
 void clear_native()
          Calls vorbis_dsp_clear().
 void clear()
          Calls vorbis_dsp_clear().
 void finalize()
           
 int flushPacket_native(Packet packet)
          Calls vorbis_bitrate_flushpacket().
 int flushPacket(Packet packet)
          Calls vorbis_bitrate_flushpacket().
 void free()
           
 long getSequence_native()
          Accesses sequence.
 long getSequence()
          Accesses sequence.
 int headerOut_native(Packet codePacket)
          Calls vorbis_analysis_headerout().
 int headerOut(Comment comment, Packet infoPacket, Packet commentPacket, Packet codePacket)
          Calls vorbis_analysis_headerout().
 int initAnalysis_native(Info info)
          Initialize for encoding.
 int initAnalysis(Info info)
          Initialize for encoding.
 int initSynthesis_native(Info info)
          Initialize for decoding.
 int initSynthesis(Info info)
          Initialize for decoding.
 int pcmOut_native(float[][] afPcm)
          Calls vorbis_synthesis_pcmout().
 int pcmOut(float[][] afPcm)
          Calls vorbis_synthesis_pcmout().
 int read_native(int nSamples)
          Calls vorbis_synthesis_read().
 int read(int nSamples)
          Calls vorbis_synthesis_read().
 int write_native(float[][] values, int nValues)
          Calls vorbis_analysis_buffer() and vorbis_analysis_wrote().
 int write(float[][] values, int nValues)
          Calls vorbis_analysis_buffer() and vorbis_analysis_wrote().
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DspState

public DspState()
Method Detail

finalize

public void finalize()
Overrides:
finalize in class java.lang.Object

free

public void free()

initAnalysis

public int initAnalysis(Info info)
Initialize for encoding.


initAnalysis_native

public int initAnalysis_native(Info info)
Initialize for encoding. Calls vorbis_analysis_init().


headerOut

public int headerOut(Comment comment,
                     Packet infoPacket,
                     Packet commentPacket,
                     Packet codePacket)
Calls vorbis_analysis_headerout().


headerOut_native

public int headerOut_native(Packet codePacket)
Calls vorbis_analysis_headerout().


write

public int write(float[][] values,
                 int nValues)
Calls vorbis_analysis_buffer() and vorbis_analysis_wrote().


write_native

public int write_native(float[][] values,
                        int nValues)
Calls vorbis_analysis_buffer() and vorbis_analysis_wrote().


blockOut

public int blockOut(Block block)
Calls vorbis_analysis_blockout().


blockOut_native

public int blockOut_native(Block block)
Calls vorbis_analysis_blockout().


flushPacket

public int flushPacket(Packet packet)
Calls vorbis_bitrate_flushpacket().


flushPacket_native

public int flushPacket_native(Packet packet)
Calls vorbis_bitrate_flushpacket().


initSynthesis

public int initSynthesis(Info info)
Initialize for decoding. Calls vorbis_synthesis_init().


initSynthesis_native

public int initSynthesis_native(Info info)
Initialize for decoding. Calls vorbis_synthesis_init().


blockIn

public int blockIn(Block block)
Calls vorbis_synthesis_blockin().


blockIn_native

public int blockIn_native(Block block)
Calls vorbis_synthesis_blockin().


pcmOut

public int pcmOut(float[][] afPcm)
Calls vorbis_synthesis_pcmout().


pcmOut_native

public int pcmOut_native(float[][] afPcm)
Calls vorbis_synthesis_pcmout().


read

public int read(int nSamples)
Calls vorbis_synthesis_read().


read_native

public int read_native(int nSamples)
Calls vorbis_synthesis_read().


getSequence

public long getSequence()
Accesses sequence.


getSequence_native

public long getSequence_native()
Accesses sequence.


clear

public void clear()
Calls vorbis_dsp_clear().


clear_native

public void clear_native()
Calls vorbis_dsp_clear().