b.java
996 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
package com.instabug.library.internal.b;
import android.media.MediaRecorder;
import com.instabug.library.util.InstabugSDKLogger;
import java.io.IOException;
public class b
{
private final String a;
private MediaRecorder b = null;
public b(String paramString)
{
this.a = paramString;
}
public void a()
{
this.b = new MediaRecorder();
this.b.setAudioSource(1);
this.b.setOutputFormat(2);
this.b.setOutputFile(this.a);
this.b.setAudioEncoder(3);
try
{
this.b.prepare();
this.b.start();
return;
}
catch (IOException localIOException)
{
InstabugSDKLogger.e(this, "Recording audio failed", localIOException);
}
}
public void b()
{
this.b.stop();
this.b.reset();
this.b.release();
this.b = null;
}
}
/* Location: /home/merong/decompile/hackery-dex2jar.jar!/com/instabug/library/internal/b/b.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/