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

org.dstadler.audio.player.AudioPlayer Maven / Gradle / Ivy

package org.dstadler.audio.player;

import javax.sound.sampled.UnsupportedAudioFileException;
import java.io.IOException;

/**
 * Simple interface for providing different implementations
 * of audio playback functionality.
 */
public interface AudioPlayer extends AutoCloseable {

    void setOptions(String options);

    void play() throws IOException, UnsupportedAudioFileException;

    @Override
    void close() throws IOException;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy