Examples of serialno()


Examples of org.vorbis.jcraft.jogg.Page.serialno()

            seek_helper(bisect);
            ret = get_next_page(page, -1);
            if (ret == OV_EREAD) {
                return OV_EREAD;
            }
            if (ret < 0 || page.serialno() != currentno) {
                endsearched = bisect;
                if (ret >= 0) {
                    next = ret;
                }
            } else {
View Full Code Here

Examples of org.vorbis.jcraft.jogg.Page.serialno()

        if (searched >= end || ret == -1) {
            links = m + 1;
            offsets = new long[m + 2];
            offsets[m + 1] = searched;
        } else {
            ret = bisect_forward_serialno(next, offset, end, page.serialno(), m + 1);
            if (ret == OV_EREAD) {
                return OV_EREAD;
            }
        }
        offsets[m] = begin;
View Full Code Here

Examples of org.vorbis.jcraft.jogg.Page.serialno()

                        vi[i].clear();
                        vc[i].clear();
                        break;
                    }
                    if (og.granulepos() != -1) {
                        serialnos[i] = og.serialno();
                        pcmlengths[i] = og.granulepos();
                        break;
                    }
                }
            }
View Full Code Here

Examples of org.vorbis.jcraft.jogg.Page.serialno()

        // end = offset;
        // We get the offset for the last page of the physical bitstream.
        // Most OggVorbis files will contain a single logical bitstream
        end = get_prev_page(og);
        // moer than one logical bitstream?
        if (og.serialno() != serialno) {
            // Chained bitstream. Bisect-search each logical bitstream
            // section.  Do so based on serial number only
            if (bisect_forward_serialno(0, 0, end + 1, serialno, 0) < 0) {
                clear();
                return OV_EREAD;
View Full Code Here

Examples of org.vorbis.jcraft.jogg.Page.serialno()

            // are done by packet above
            bittrack += og.header_len * 8;

            // has our decoding just traversed a bitstream boundary?
            if (decode_ready) {
                if (current_serialno != og.serialno()) {
                    decode_clear();
                }
            }

            // Do we need to load a new machine before submitting the page?
View Full Code Here

Examples of org.vorbis.jcraft.jogg.Page.serialno()

            // we're now nominally at the header of the next bitstream

            if (!decode_ready) {
                int i;
                if (seekable) {
                    current_serialno = og.serialno();

                    // match the serialno to bitstream section.  We use this rather than
                    // offset positions to avoid problems near logical bitstream
                    // boundaries
                    for (i = 0; i < links; i++) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.