Android:OpenCore 支持音频效果吗?
我想问一下OpenCore是否支持音频效果。当我们尝试设置一些音频效果并尝试播放音频文件(仅在 opencore 上支持)时,似乎效果未启用。然而,当我们尝试播放仅在 stagefright 上支持的音频文件时,效果似乎有效。所以我们认为 opencore 不支持音频效果。如果我错了,请纠正我。
任何反馈将不胜感激。
提前致谢, 艺术风格
I would like to ask if audio-effects is supported in OpenCore. When we tried to set some audio effects and tried to play the audio file (supported on opencore only), it seems that the effects are not enabled. However, when we tried to play an audio file, which is supported on stagefright only, the effects seem to be working. So we are thinking that audio-effect is not supported in opencore. Please correct me if I am wrong.
Any feedback would be greatly appreciated.
Thanks in advance,
artsylar
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先,Opencore不支持音频效果。 《怯场》也没有。
然而,GingerBread 版本的 Android 带有默认的音频效果。这些效果已插入 AudioTrack 类(~ AudioSink / AudioFlinger)中,这是一个内部 Android C++ 类。在Android多媒体堆栈中,AudioTrack的实例被提供给底层媒体播放器。播放器可以是 stagefright、opencore 或 midi 等。在 stagefright 播放器中,提供的 AudioTrack 实例用于音频播放。但 Opencore 创建了自己的 AudioTrack 实例。因此使用opencore stack进行音频播放没有效果。
沙什316
First of all, Opencore does not have support for Audio Effects. Neither does Stagefright.
However GingerBread version Android comes with default Audio Effects. These effects have been plugged in AudioTrack class (~ AudioSink / AudioFlinger), an internal Android c++ class. In Android Multimedia stack, an instance of AudioTrack is provided to the underlying media player. The player could be stagefright, or opencore or midi etc. In stagefright player, AudioTrack instance provided is used for audio playback. But the Opencore create its own instance of AudioTrack. Therefore audio playback using opencore stack does not have effects.
Shash316
答案是视情况而定。 此处提供了 Android 上 OpenSL ES 支持的所有支持的详细图表。我假设 OpenCore 会为 AudioEffect 检查相同的字段。
The answer is it depends. There's a detailed chart here of all supported of OpenSL ES on Android. I would assume OpenCore would have the same fields checked out for AudioEffect.