AudioOutputUnitStart takes time
Posted
by tokentoken
on Stack Overflow
See other posts from Stack Overflow
or by tokentoken
Published on 2010-03-24T21:19:55Z
Indexed on
2010/03/24
21:23 UTC
Read the original article
Hit count: 150
core-audio
|iphone
Hello,
I'm making an iPhone game application using Core Audio, Extended Audio File Services.
It works OK, but when I first call AudioOutputUnitStart, it takes about 1-2 seconds. After the second call, no problem. For a game application, 1-2 seconds is very noticeable. (I tested this on iPhone simulator, and iPhone 3GS)
Also, if I leave the game for about 10 seconds, first call of AudioOutputUnitStart also takes time.
Maybe I have to call AudioOutputUnitStart beginning of the application to prevent the start-up time?
© Stack Overflow or respective owner