csvorbis.DspState.synthesis_init C# (CSharp) Method

synthesis_init() public method

public synthesis_init ( Info vi ) : int
vi Info
return int
        public int synthesis_init(Info vi)
        {
            init(vi, false);
            // Adjust centerW to allow an easier mechanism for determining output
            pcm_returned=centerW;
            centerW-= vi.blocksizes[W]/4+vi.blocksizes[lW]/4;
            granulepos=-1;
            sequence=-1;
            return(0);
        }

Usage Example

Esempio n. 1
0
		int make_decode_ready()
		{
#if NET_2_1
			if(decode_ready) throw new Exception ("make_decode_ready: 1");
#else
			if(decode_ready)Environment.Exit(1);
#endif
			vd.synthesis_init(vi[0]);
			vb.init(vd);
			decode_ready=true;
			return(0);
		}
All Usage Examples Of csvorbis.DspState::synthesis_init