Examples of serialno()


Examples of com.jcraft.jogg.Page.serialno()

                log.error( "Input truncated or empty." );
            else
                log.error( "Input is not an Ogg bitstream." );
            return;
        }
        state.serial = og.serialno();
        state.os = new StreamState();
        state.os.init( state.serial );

        state.vi = new Info();
        state.vi.init();
View Full Code Here

Examples of com.jcraft.jogg.Page.serialno()

                System.exit(1);
            }

            // Get the serial number and set up the rest of decode.
            // serialno first; use it to set up a logical stream
            os.init(og.serialno());

            // extract the initial header from the first page and verify that the
            // Ogg bitstream is in fact Vorbis data

            // I handle the initial header first instead of just having the code
View Full Code Here

Examples of com.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 {
                searched = ret + page.header_len + page.body_len;
View Full Code Here

Examples of com.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;
        return 0;
View Full Code Here

Examples of com.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 com.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 com.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 com.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

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

                System.err.println("Input is not an Ogg bitstream.");
            }
            // goto err;
            return;
        }
        state.serial = og.serialno();
        state.os = new StreamState();
        state.os.init(state.serial);
//  os.reset();

        state.vi = new Info();
View Full Code Here

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

                return;
            }

            // Get the serial number and set up the rest of decode.
            // serialno first; use it to set up a logical stream
            os.init(og.serialno());

            // extract the initial header from the first page and verify that the
            // Ogg bitstream is in fact Vorbis data

            // I handle the initial header first instead of just having the code
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.