I have this sound playing after pressing one button using AudioToolbox.
-(void) onButtonPressSound {
NSString *soundPath = [[NSBundle mainBundle] pathForResource:@"sound" ofType:@"m4a"];
SystemSoundID soundID;
AudioServicesCreateSystemSoundID((__bridge CFURLRef)[NSURL fileURLWithPath: soundPath], &soundID);
AudioServicesPlaySystemSound (soundID);
}
how can i make it play 2 sounds instead of one, one after the other, after pressing this button?
Thank you,