Package org.kc7bfi.jflac.io

Examples of org.kc7bfi.jflac.io.RandomFileInputStream


//                oggDecoder = new OggFlacDecoder();
//                oggDecoder.open(inputFile);
//                streamInfo = oggDecoder.getStreamInfo();
//                decoder = oggDecoder.getDecoder();
//            } else {
            decoder = new org.kc7bfi.jflac.FLACDecoder(new RandomFileInputStream(inputFile));
            parseMetadata();
//            }

            return true;
        } catch (IOException e) {
View Full Code Here


     * @throws IOException Thrown if error reading file
     * @throws LineUnavailableException Thrown if error playing file
     */
    public void play(String inFileName, int fromSeekPoint, int toSeekPoint) throws IOException, LineUnavailableException {
        System.out.println("Play [" + inFileName + "]");
        RandomFileInputStream is = new RandomFileInputStream(inFileName);

        FLACDecoder decoder = new FLACDecoder(is);
        decoder.addPCMProcessor(this);
        decoder.addFrameListener(this);
        decoder.readMetadata();
View Full Code Here

TOP

Related Classes of org.kc7bfi.jflac.io.RandomFileInputStream

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.