Skip to content

Commit

Permalink
Comments to AudioManager.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
vchelaru committed Dec 30, 2023
1 parent d6b358b commit c48cdd6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Engines/FlatRedBallXNA/FlatRedBall/Audio/AudioManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,10 @@ private static void HandleISongPlaybackStopped(object sender, EventArgs e)
CurrentlyPlayingISong = null;
}

/// <summary>
/// Stops the current song (either XNA or ISong) and sets the currently playing song
/// to null. This does not clear the CurrentSong/CurrentISong properties, so PlaySong can be called to resume the same song.
/// </summary>
public static void StopSong()
{
if(mCurrentISong != null)
Expand Down

0 comments on commit c48cdd6

Please sign in to comment.