/// <summary>
 /// Adjusts the volume of the player
 /// </summary>
 /// <param name="sender">the object sending the event</param>
 /// <param name="e">the event itself</param>
 private void volumeBar_Scroll(object sender, EventArgs e)
 {
     if (currentSong != null)
     {
         currentSong.getSound().setVolume(volumeBar.Value / 100.0f);
     }
 }
 ///<summary>
 ///For deep copying
 ///</summary>
 ///<param name="prevSong">the song that is deep copied</param>
 public Song(Song prevSong)
 {
     this.path  = prevSong.getPath();
     this.sound = prevSong.getSound();
 }
 /// <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>
 /// 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>
 /// Stops the song that is currently playing
 /// </summary>
 /// <param name="song">The song to be stopped</param>
 public void stopSong(Song song)
 {
     song.getSound().stop();
 }
 /// <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();
 }