Package vavi.sound.smaf.chunk

Examples of vavi.sound.smaf.chunk.FileChunk


    /** */
    static SmafFileFormat readFrom(InputStream is) throws InvalidSmafDataException, IOException {
        Chunk chunk = Chunk.readFrom(is, null, true);
        if (FileChunk.class.isInstance(chunk)) {
            FileChunk fileChunk = FileChunk.class.cast(chunk);
            SmafFileFormat sff = new SmafFileFormat(fileChunk.getSize());
            sff.sequence = new SmafSequence(fileChunk);
            return sff;
        } else {
            throw new InvalidSmafDataException("stream is not smaf");
        }
View Full Code Here

TOP

Related Classes of vavi.sound.smaf.chunk.FileChunk

Copyright © 2018 www.massapicom. 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.