我正在使用以下方法播放几种声音:音频服务 https://developer.apple.com/library/mac/#documentation/AudioToolbox/Reference/SystemSoundServicesReference/Reference/reference.html
AudioServicesPlaySystemSound(aSystemSoundID);
当我在iPhone 3G连接到机器后我收到以下消息:
> 2010-09-16 17:29:29.672
> myProject[6528:6def] [17:29:29.672
> <0x85d400>] PlaySound posting message
> to kill mediaserverd (5958) [Switching
> to thread 13059]
和/或:
> 2010-09-16 17:30:28.316
> myProject[6528:6def] [17:30:28.316
> <0x85d400>] AudioQueueNew posting
> message to kill mediaserverd (0)
> Error: AudioQueueNewInput failed
> (0x10004003)
知道为什么吗?
Thanks.
顺便说一句,在模拟器上一切正常。
我注意到这篇文章,听起来有点相似。尝试这个是一个选择吗?
AudioQueueStart 发布消息以杀死 mediaserverd https://stackoverflow.com/questions/10952469/audioqueuestart-posting-message-to-kill-mediaserverd
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)