Package org.jaudiotagger.audio.flac

Examples of org.jaudiotagger.audio.flac.FlacStreamReader


    @Override
    protected String getSmdId(File file) throws IOException {
        try {
            RandomAccessFile randomAccessFile = new RandomAccessFile(file.getCanonicalPath(), "r");
            FlacStreamReader flacStream = new FlacStreamReader(randomAccessFile);
            flacStream.findStream();
            boolean isLastBlock = false;
            String checksum = null;
            while (!isLastBlock) {
                MetadataBlockHeader mbh = MetadataBlockHeader.readHeader(randomAccessFile);
                if (mbh.getBlockType() == BlockType.STREAMINFO) {
View Full Code Here

TOP

Related Classes of org.jaudiotagger.audio.flac.FlacStreamReader

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.