tags:

views:

10

answers:

0
SoundEngine_Initialize(44100);
// Assume the listener is in the center at the start. The sound will pan as the position of the rocket changes.
SoundEngine_SetListenerPosition(0.0, 0.0, kListenerDistance);

SoundEngine_LoadEffect([[[NSBundle mainBundle] pathForResource:@"punch1" ofType:@"wav"] UTF8String], &_sounds[kSound_Start]);

i dont know why there is no any sound come out,is it i need to test on a device rather than simulator?