content: /*******************************************************************************
   * Copyright 2011 See AUTHORS file.
   * 
   * 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 com.badlogic.gdx.audio;
  
  import com.badlogic.gdx.Audio;
  import com.badlogic.gdx.utils.Disposable;
  
  /** <p>
   * A Sound is a short audio clip that can be played numerous times in parallel. It's completely loaded into memory so only load
   * small audio files. Call the {@link #dispose()} method when you're done using the Sound.
   * </p>
   * 
   * <p>
   * Sound instances are created via a call to {@link Audio#newSound(FileHandle)}.
   * </p>
   * 
   * @author badlogicgames@gmail.com */
  public interface Sound extends Disposable {
  	/** Plays the sound. If the sound is already playing, it will be played again, concurrently. */
  	public void play ();
  
  	/** Plays the sound. If the sound is already playing, it will be played again, concurrently.
  	 * @param volume the volume in the range [0,1] */
  	public void play (float volume);
  
  	/** Stops playing all instances of this sound. */
  	public void stop ();
  
  	/** Releases all the resources. */
  	public void dispose ();
  }
  