如何在Android中使用mpg123 [英] how to use mpg123 in android

查看:88
本文介绍了如何在Android中使用mpg123的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在MP 3播放器上工作,该播放器包含更改播放MP 3的音调和速度,因此我必须将PCM馈送到AudioTrack,从而将Mp 3转换为PCM. 经过对Google i的大量研究之后,我了解有两种方法可以做到这一点,一种是使用jlayer库 其他人正在使用本机库,我已经读到第二种方法相当有效,而我在本机代码中是新事物,所以我阅读了有关如何在android中使用本机库并能够通过eclipse成功运行本机代码示例的所有信息.我的制作jni和.mk以及所有..现在我在我的Eclipse Android Project中实现mpg123库时遇到了问题..我已经阅读过很多人以前做过的...任何帮助将不胜感激..在此先感谢..对不起我的英语不好.

i am working on a MP 3 Player which contains changing the Pitch and Speed of playing MP 3 , so that i have to feed PCM to AudioTrack ,which leads to convert Mp 3 to PCM. now after lots of Research on Google i Understand that there is Two ways to do this,one is using jlayer library and other is using Native Libs i have read that the second Approach is quite Efficient ,and thing is i am new in native codes,so i read all about how to use native libs in android and successfully able to run native code examples on by eclipse my making jni and .mk and all.. now i am having problem in implementing mpg123 library in my Eclipse Android Project ..i have read many people have done this previously...any help would be appreciative.. thanks in advance ...sorry my bad English.

推荐答案

在这里,请在github https中查看此代码://github.com/tulskiy/camomile

Here you go, see this code in github https://github.com/tulskiy/camomile

这篇关于如何在Android中使用mpg123的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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