开发者

how can I fix the sound problem through my iPhone Application

开发者 https://www.devze.com 2023-03-06 10:47 出处:网络
I am using Singleton in my iphone project. when I click on the sound button (I am using Singleton) for sound.开发者_开发知识库 when I click on the play (it will take 2 or 3 nano second) and then after

I am using Singleton in my iphone project. when I click on the sound button (I am using Singleton) for sound.开发者_开发知识库 when I click on the play (it will take 2 or 3 nano second) and then after the sound will play..

How can I fix this problem of sound..


Make sure you have your audio session initialized before you play your first sound. You could do that on the

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions

method.

0

精彩评论

暂无评论...
验证码 换一张
取 消