package com.uoc.educationalVG.framework;

/**
 * The Audio interface is our way to create new Music and Sound instances. A
 * Music instance represents a streamed audio file. A Sound instance represents
 * a short sound effect that we keep entirely in memory. The methods
 * Audio.newMusic() and Audio.newSound() both take a filename as an argument and
 * throw an IOException in case the loading process fails (for example, when the
 * specified file does not exist or is corrupt). The filenames refer to asset
 * files in our application’s APK file.
 * 
 * @author "Beginning Android 4 Games Development"
 * 
 */

public interface Audio {
	public Music newMusic(String filename);

	public Sound newSound(String filename);
}
