I'm having the issue that my song is playing on the pc, but not on the Xbox. I don't get any errors. Here's my code;
public void Play(String song)
{
if (MediaPlayer.GameHasControl)
{
MediaPlayer.IsRepeating = true;
MediaPlayer.IsMuted = false;
MediaPlayer.Volume = 1.0f;
s = Engine.Content.Load<Song>(song);
if (MediaPlayer.State != MediaState.Playing)
MediaPlayer.Play(s);
}
}
MediaPlayer.State allways remains MediaState.Stopped on the Xbox. On the PC it becomes MediaState.Playing and I can hear the music.
Do you have any idea what could go wrong?