Skip to content

Commit f139ddd

Browse files
author
chenyouwei
committed
feat:开放日志
1 parent 791fba9 commit f139ddd

File tree

11 files changed

+44
-11
lines changed

11 files changed

+44
-11
lines changed

app/src/main/java/com/hugh/audiofun/MainActivity.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import androidx.appcompat.app.AppCompatActivity;
44

5+
import android.app.Activity;
56
import android.content.DialogInterface;
67
import android.content.Intent;
78
import android.os.Bundle;
@@ -28,7 +29,7 @@
2829
import static com.hugh.audiofun.FmodSound.getVersion;
2930
import static com.hugh.audiofun.FmodSound.playSound;
3031

31-
public class MainActivity extends AppCompatActivity {
32+
public class MainActivity extends Activity {
3233
private CommonAdapter<Item> mAdapter;
3334
String path = "file:///android_asset/lightlesson_excellent.mp3";
3435

app/src/main/java/com/hugh/audiohome/AudioFunHomeActivity.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package com.hugh.audiohome;
22

3+
import android.app.Activity;
34
import android.os.Bundle;
45
import android.util.Log;
56
import android.view.View;
@@ -30,7 +31,7 @@
3031
/**
3132
* Created by chenyw on 2020/7/30.
3233
*/
33-
public class AudioFunHomeActivity extends AppCompatActivity implements VoicePlayerInterface, DecodeOperateInterface, ComposeAudioInterface, VoiceRecorderOperateInterface {
34+
public class AudioFunHomeActivity extends Activity implements VoicePlayerInterface, DecodeOperateInterface, ComposeAudioInterface, VoiceRecorderOperateInterface {
3435
private boolean recordVoiceBegin;
3536

3637
private int width;
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
3-
2+
<LinearLayout
3+
xmlns:android="http://schemas.android.com/apk/res/android"
44
android:layout_width="match_parent"
5-
android:layout_height="match_parent" >
5+
android:layout_height="match_parent"
6+
android:orientation="vertical">
67

78
<ListView
89
android:id="@+id/lv_main"
910
android:layout_width="match_parent"
1011
android:layout_height="match_parent">
1112

1213
</ListView>
13-
14-
</androidx.constraintlayout.widget.ConstraintLayout>
14+
</LinearLayout>
1.17 MB
Binary file not shown.
907 KB
Binary file not shown.
2.59 MB
Binary file not shown.
469 KB
Binary file not shown.
283 KB
Binary file not shown.
260 KB
Binary file not shown.

libwebrtc/src/main/cpp/_android_log_print.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55

66
#include <android/log.h>
77

8-
//#define IS_DEBUG
8+
#define IS_DEBUG
99

1010
#ifdef IS_DEBUG
1111

12-
#define LOG_TAG ("SWS_LOG_TEST")
12+
#define LOG_TAG ("AUDIO_FUN_LOG_TEST")
1313

1414
#define LOGV(...) ((void)__android_log_print(ANDROID_LOG_VERBOSE, LOG_TAG, __VA_ARGS__))
1515

0 commit comments

Comments
 (0)