Code:
menuMusic = [[GBMusicTrack alloc] initWithPath:[[NSBundle mainBundle] pathForResource:@"Menu" ofType:@"mp3"]];
[menuMusic setRepeat:YES];
[menuMusic play];
backgroundMusic = [[GBMusicTrack alloc] initWithPath:[[NSBundle mainBundle] pathForResource:@"Soundtrack" ofType:@"caf"]];
[backgroundMusic setRepeat:YES];
This is the code I use in my Main view controller implementation, however It seems I can only use the first track I load in so later on when I want to pause menuMusic and play background music my menu music stops and the background music starts, if I load them in the opposite way the same thing happens, only one file plays.
It's probably something to do with how I'm managing them in memory but I'm crap at that so I've probably missed something obvious.