Avaudio player freezes app for 1/2 sec
I get the following message just before playing an audio file: "AddRunningClient starting device on non-zero client coun开发者_StackOverflow社区t"
This only happens once and never happens again. Anyone knows why this would happen. I only have 1 player.
Thanks.
The stall happens while the audio source is being loaded. You can pre-load the audio source with [audio prepareToPlay];
精彩评论