/** * Copyright 2011 The jFLAC Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.jflac; import java.io.IOException; import java.io.InputStream; import java.util.Collection; import javax.sound.sampled.AudioFormat; import javax.sound.sampled.AudioInputStream; import javax.sound.sampled.TargetDataLine; import org.jflac.data.format.meta.MetaDataBlockData; /** * @author alanraison <alanraison@users.sourceforge.net> * */ public class FlacToSignedPcmDecoderStream extends AudioInputStream { private Collection<MetaDataBlockData> metaData; private byte[] buffer; /** * @param stream * @param format * @param length */ public FlacToSignedPcmDecoderStream(final InputStream stream, final AudioFormat format, final long length) { super(stream, format, length); // TODO Auto-generated constructor stub } /** * @param line */ public FlacToSignedPcmDecoderStream(final TargetDataLine line) { super(line); // TODO Auto-generated constructor stub } @Override public int read() throws IOException { return 0; } @Override public int read(final byte[] b) throws IOException { // TODO Auto-generated method stub return super.read(b); } @Override public int read(final byte[] b, final int off, final int len) throws IOException { // TODO Auto-generated method stub return super.read(b, off, len); } }