Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Pausing and resuming songs with MediaPlayer? [SOLVED]

$
0
0

@Fox9 wrote:

I want to switch between two different songs, but I don't know how to do that with the MediaPlayer.
For example:
I start playing song1. After that, I pause song1 and start playing song2. After a while, I stopp or pause song2 and I want to resume song1 at the exact position where I had paused song1 before.
How can I do that?

EDIT: I solved the problem. I found out that I can change the play position within the song with the PlayPosition property.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles