Android:声音池和服务
我已经创建了实现媒体播放器类来播放背景音乐的服务。但现在我想转换为声音池,以便可以播放多种声音。 可以帮助我提供一些源代码的链接吗?
提前致谢。
I have create the service which implement the media player class to play the back ground music.But now i want to convert into sound pool so that multiple sound can be played.
can help any on which can provide me the some link of source code?
Thanks in Advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只是我已经实现了带有背景声音的服务,我已经检查了 中的代码http://android-er.blogspot.com/2010/11/play-audio-resources-using-soundpool.html 和 http://developer.android.com/guide/topics/fundamentals/bound-services.html
您从 Activity 调用
感谢所有帮助我的人。特别是谁写博客。
Just i have implemented the service with background sound,i have check the code from http://android-er.blogspot.com/2010/11/play-audio-resources-using-soundpool.html and http://developer.android.com/guide/topics/fundamentals/bound-services.html
you call from Activity using
Thank you to all who help me.specially to who write the blog.