• 大小: 2.56M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-24
  • 语言: Java
  • 标签: IM  BIM  bi  

资源简介


资源截图

代码片段和文件信息

package cn.sharerec.editor.gui.trimvideo.recorder;

import android.media.MediaRecorder;
import android.os.Handler;
import android.os.Message;

import com.mob.tools.MobHandlerThread;

import java.io.IOException;

public class AudioRecorderByMedia implements IRecorder {
private boolean recordering = false;
Handler checkVolume;
MediaRecorder recorder;
private long start;
private long end;
private int base = 600;
private int space = 300;// 间隔取样时间

private VolumeChangeListener volumeChangeListener;

private void init() {
if (recorder == null) {
recorder = new MediaRecorder();
try {
recorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT);
} catch (Exception ex) {
ex.printStackTrace();
recorder.reset();
recorder.release();
recorder = null;
try {

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\
     文件      557472  2017-12-22 12:09  MobIM-for-Android-master\MobIM_1.0.0.zip
     文件     1510318  2017-12-22 12:09  MobIM-for-Android-master\MobIM_demoV1.0.1.2017121502.apk
     文件        3463  2017-12-22 12:09  MobIM-for-Android-master\README.md
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\
     文件         392  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\build.gradle
     文件         935  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\proguard-rules.pro
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\
     文件        4893  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\AndroidManifest.xml
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\cn\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\cn\sharerec\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\cn\sharerec\editor\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\cn\sharerec\editor\gui\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\cn\sharerec\editor\gui\trimvideo\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\cn\sharerec\editor\gui\trimvideo\recorder\
     文件        3146  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\cn\sharerec\editor\gui\trimvideo\recorder\AudioRecorderByMedia.java
     文件         274  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\cn\sharerec\editor\gui\trimvideo\recorder\IRecorder.java
     文件         138  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\cn\sharerec\editor\gui\trimvideo\recorder\VolumeChangeListener.java
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\mob\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\mob\demo\
     目录           0  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\mob\demo\mobim\
     文件        3197  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\mob\demo\mobim\baseActivity.java
     文件        4984  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\mob\demo\mobim\baseFragment.java
     文件        2273  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\mob\demo\mobim\GlideBoardTransform.java
     文件         736  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\mob\demo\mobim\GlideConfig.java
     文件        1449  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\mob\demo\mobim\GlideRoundTransform.java
     文件        1046  2017-12-22 12:09  MobIM-for-Android-master\Sample\app\src\main\java\com\mob\demo\mobim\MainApplication.java
............此处省略299个文件信息

评论

共有 条评论