AudioServicesPlaySystemSound not playing long wavs
Hi there,
I'm having problems using AudioServicesPlaySystemSound function for wav file about 10 seconds in duration. In iPhone simulator, I don't hear anything. I don't have real iPhone device yet, so I can not test it in real conditions, but when using i.e. 2 seconds long wav file, sound works.
According to the Reference Library, AudioServicesPlaySystemSound should play wav file of duration less than 30 seconds, which my wav file is.
Do I have to specify the max duration of wav file for AudioServicesPlaySystemSound, or this is some iPhone simulator issue?
I tried to convert wav files to caff, but the result is the same.
Thank you for your help.
|