/// <summary> /// Checks to see whether the current song is paused or not /// </summary> /// <param name="song">The current song</param> /// <returns>A boolean that specifies whether current song is paused or not</returns> public Boolean isPaused(Song song) { return(song.getSound().isPaused()); }
/// <summary> /// Stops the playing song /// </summary> /// <param name="song">the song to be stopped</param> public void stopSong(Song song) { song.getSound().stop(); }
/// <summary> /// Changes the volume of the song playing /// </summary> /// <param name="song">The current song playing</param> /// <param name="volume">The new volume</param> public void setVolume(Song song, float volume) { song.getSound().setVolume(volume); }
/// <summary> /// Pauses or unpauses a song /// </summary> /// <param name="song">the song to be paused or unpaused</param> public void pauseUnpauseSong(Song song) { song.getSound().pauseUnpause(); }