的Soundpool不循环的安卓4.3 [英] Soundpool not looping in android 4.3

查看:122
本文介绍了的Soundpool不循环的安卓4.3的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一对夫妇中,我使用的Soundpool循环一个滴答作响的时钟的声音的应用程序,这工作正常,在Android的所有previous版本,但在升级到Android 4.3的声音不再循环后,只是播放一次。我知道我可以使用的MediaPlayer循环它代替,但这听起来并不那么好。有一个简单的工作,围绕这一点,将Android修正错误,还是我必须凑合用的MediaPlayer。

I have a couple of apps in which I use soundpool to loop the sound of a ticking clock, this works fine in all previous versions of android but after upgrading to android 4.3 the sound no longer loops but just plays once. I know I can use MediaPlayer to loop it instead but this doesn't sound as good. Is there an easy work around for this, will android fix the bug, or do I have to make do with MediaPlayer.

推荐答案

检查此链接。 <一href="https://$c$c.google.com/p/android/issues/detail?id=58113">https://$c$c.google.com/p/android/issues/detail?id=58113 的Soundpool停在4.3工作

Check this link. https://code.google.com/p/android/issues/detail?id=58113 Soundpool stopped working in 4.3

这篇关于的Soundpool不循环的安卓4.3的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆