Hi...
I am recording an audio using AVAudioRecorder and the path of that audio file is NSTemporaryDirectory(),
recording has been done successfuly (as i hav chkd it)
Now when I am using below snippet it works fine..
NSString *path = [NSTemporaryDirectory() stringAppendingString:@"someSound.caf"]; [[SimpleAudioEngine sharedEngine] playBackgroundMusic:path];
but its not working for below snippet...
NSString *path = [NSTemporaryDirectory() stringAppendingString:@"someSound.caf"]; [[SimpleAudioEngine sharedEngine] playEffect:path];
I have to use "[[SimpleAudioEngine sharedEngine] playEffect:path];" as i have to set pitch,gain of audiofile.. Above thing is not working for simulator as well as device
Plz help me out...