package org.toop.framework.resource.types;

public interface AudioResource {
    String getName();
    void updateVolume(double volume);
    void play();
    void stop();
    long duration();
    long currentPosition();
    void setOnEnd(Runnable run);
    void setOnError(Runnable run);
    void pause();
}
