csvorbis.VorbisFile.open_nonseekable C# (CSharp) Method

open_nonseekable() private method

private open_nonseekable ( ) : int
return int
        int open_nonseekable()
        {
            //System.err.println("open_nonseekable");
            // we cannot seek. Set up a 'single' (current) logical bitstream entry
            links=1;
            vi=new Info[links]; vi[0]=new Info(); // ??
            vc=new Comment[links]; vc[0]=new Comment(); // ?? bug?

            // Try to fetch the headers, maintaining all the storage
            int[]foo=new int[1];
            if(fetch_headers(vi[0], vc[0], foo, null)==-1)return(-1);
            current_serialno=foo[0];
            make_decode_ready();
            return 0;
        }