Hi everyone.
I have a newly created game using Cocos2D on the iPhone. I am at the sound implementation portion now. I could implement the sounds. But it somehow has a small volum. Especially, the click button effect sounds. They are too small. Could you guys show me how to increase the volumn of that particular sound please? Here is my code for the button sound. I will call this at where I click the button.
-(void) play
{
NSString *path = [NSString stringWithFormat:@"%@%@",[[NSBundle mainBundle] resourcePath],@"/menu_button_2.wav"];
SystemSoundID soundID;
NSURL *filePath = [NSURL fileURLWithPath:path isDirectory :NO];
AudioServicesCreateSystemSoundID((CFURLRef)filePath ,&soundID);
AudioServicesPlaySystemSound(soundID);
//AudioServicesDisposeSystemSoundID (soundID);
}