# To enable ProGuard in your project, edit project.properties
# to define the proguard.config property as described in that file.
#
# Add project specific ProGuard rules here.
# By default, the flags in this file are appended to flags specified
# in ${sdk.dir}/tools/proguard/proguard-android.txt
# You can edit the include path and order by changing the ProGuard
# include property in project.properties.
#
# For more details, see
# http://developer.android.com/guide/developing/tools/proguard.html
# Add any project specific keep options here:
# If your project uses WebView with JS, uncomment the following
# and specify the fully qualified class name to the JavaScript interface
# class:
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
没有合适的资源?快使用搜索试试~ 我知道了~
安卓录音,支持ma3,wav,amr格式
共42个文件
class:17个
xml:7个
png:5个
4星 · 超过85%的资源 需积分: 3 30 下载量 144 浏览量
2016-07-23
13:49:04
上传
评论 2
收藏 1.18MB RAR 举报
温馨提示
我参考了两篇关于录音及转档的文章,整理后封装成一个支持各种录音格式的工具类。 参考链接: http://dearseven.blog.163.com/blog/static/100537922201412722739560/ http://www.cnblogs.com/Amandaliu/archive/2013/02/04/2891604.html 录音使用AudioRecord录制raw,再加工转换为mp3及wav档。 mp3是参考上面第一个链接,使用FLame进行转换。 wav是参考上面第二个链接,添加文件头,并修正了原创的一些bug。 AudioRecord录音同时使用一个SurfaceView实时显示录音的波形,不会SurfaceView的人可以参考其使用方 法。 同时也集成MediaRecorder的录音方式,默认是保存为amr档,若想保存为其他MediaRecorder支持的格式, 只要在初始化时修改配置及保存档名后缀即可。 核心的工具类就是RecorderUtil,初始化时传入保存路径及Handler。使用startXXXRecording("保存档 名")开始录音,stopXXXRecording()结束录音,保存转档完成后Handler返回信息通知。 *注:上面的XXX表录音的格式。
资源推荐
资源详情
资源评论
收起资源包目录
RecorderUtil.rar (42个子文件)
RecorderUtil
bin
res
classes
com
example
recorderutil
BuildConfig.class 357B
R$layout.class 421B
R$id.class 587B
R$drawable.class 425B
view
ShowWaveView.class 3KB
ShowWaveView$1.class 1KB
ShowWaveView$DrawTimerTask.class 3KB
R$attr.class 358B
R.class 627B
activity
MainActivity.class 5KB
MainActivity$2.class 1KB
MainActivity$1.class 2KB
MainActivity$MainTimerTask.class 1007B
R$string.class 451B
util
RecorderUtil.class 7KB
RecorderUtil$BufferedWriteThread.class 5KB
R$style.class 449B
AndroidManifest.xml 1KB
res
drawable-ldpi
values-v11
styles.xml 335B
values-v14
styles.xml 393B
drawable-hdpi
ic_launcher.png 7KB
drawable-xhdpi
ic_launcher.png 12KB
drawable-xxhdpi
ic_launcher.png 24KB
values
strings.xml 175B
styles.xml 700B
drawable-mdpi
ic_launcher.png 4KB
layout
activity_main.xml 2KB
proguard-project.txt 781B
ic_launcher-web.png 50KB
assets
gen
com
example
recorderutil
BuildConfig.java 166B
R.java 2KB
.settings
org.eclipse.jdt.core.prefs 177B
src
com
example
recorderutil
view
ShowWaveView.java 3KB
activity
MainActivity.java 5KB
util
RecorderUtil.java 13KB
.project 848B
.classpath 475B
project.properties 563B
AndroidManifest.xml 1KB
libs
armeabi
libmp3lame.so 153KB
android-support-v4.jar 1.13MB
flame.jar 1KB
共 42 条
- 1
资源评论
- 小桥冷烽2017-08-16先试试看看效果,下载看看,好
shouhengboy
- 粉丝: 4
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功