iphone: (audio) posting message to kill mediaserve

2019-06-14 23:27发布

I'm playing several sounds using: AudioServices

AudioServicesPlaySystemSound(aSystemSoundID);

When I test the project on an iPhone 3G attached to the machine I get this message:

> 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]

and / or:

> 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)

Any idea why?

Thanks.

BTW, on the simulator everything works fine.

2条回答
乱世女痞
2楼-- · 2019-06-14 23:34

I noticed this post, which sounds sort of similar. Is trying this an option?

AudioQueueStart posting message to kill mediaserverd

查看更多
在下西门庆
3楼-- · 2019-06-14 23:47

I was getting the same message when trying to set the audio category (I'm using Audio Units). A reboot of the iPad fixed it for me.

查看更多
登录 后发表回答