【发布时间】:2014-01-05 04:55:56
【问题描述】:
我的 Android 应用需要同时同步播放多个音乐音轨(例如,一起播放的鼓音轨和人声音轨,但可以单独静音)。使用SoundPool 的努力没有结果——即使我连续两行调用SoundPool.play(),也总会引入可察觉的延迟。
JetPlayer 类似乎非常适合我的需要,但似乎也没有人使用它——文档最后一次更新是在四年前,维护者的网站已关闭,相关的 JetCreator 工具不能在现代版本的 Python、wxPython 上运行(因 wxPython C++ 断言而崩溃),没有明显的解决方法/常见问题解答。
问题: JetPlayer/JetCreator 是废弃软件,还是我应该继续努力让它运行?
推论:如果它仍在使用,任何人都可以就以下wxPython 错误提出建议吗?
File "/usr/local/lib/wxPython-3.0.0.0/lib/python2.7/site-packages/wx-3.0-osx _cocoa/wx/_gdi.py", line 5317, in __init__ _gdi_.AutoBufferedPaintDC_swiginit(self,_gdi_.new_AutoBufferedPaintDC(*args, **kwargs)) wx._core.PyAssertionError: C++ assertion "window->MacGetCGContextRef() != NULL" failed at /BUILD/wxPython-src-3.0.0.0/src/osx/carbon/dcclient.cpp(195) in wxPaintDCImpl(): using wxPaintDC without being in a native paint event
【问题讨论】:
标签: android wxpython android-mediaplayer