All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jflac.PCMProcessor Maven / Gradle / Ivy

There is a newer version: 1.5.2
Show newest version
/*
 * Created on Jun 2, 2004
 *
 * To change the template for this generated file go to
 * Window - Preferences - Java - Code Generation - Code and Comments
 */
package org.jflac;

import org.jflac.metadata.StreamInfo;
import org.jflac.util.ByteData;

/**
 * PCMProcessor interface.
 * This interface defines the signatures for a class to listen
 * to PCM decode events.
 * @author kc7bfi
 */
public interface PCMProcessor {
    /**
     * Called when StreamInfo read.
     * @param streamInfo The FLAC stream info metadata block
     */
    public void processStreamInfo(StreamInfo streamInfo);
    
    /**
     * Called when each data frame is decompressed.
     * @param pcm The decompressed PCM data
     */
    public void processPCM(ByteData pcm);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy