/// <summary>Constructor</summary> /// <param name="in">the underlying input stream.</param> /// <param name="format">the target format of this stream's audio data.</param> /// <param name="length">the length in sample frames of the data in this stream.</param> /// <param name="size">the buffer size.</param> /// <exception> /// IllegalArgumentException /// if size <= 0. /// </exception> public Speex2PcmAudioInputStream(java.io.InputStream @in, javax.sound.sampled.AudioFormat format, long length, int size) : base(@in, format, length, size) { // InputStream variables // audio parameters // Speex variables // Ogg variables bits = new org.xiph.speex.Bits(); packetSizes = new byte[256]; initialised = false; }
/// <summary>Constructor</summary> public SpeexDecoder() { bits = new org.xiph.speex.Bits(); sampleRate = 0; channels = 0; }
/// <summary>Constructor</summary> public SpeexEncoder() { bits = new org.xiph.speex.Bits(); }