Skip to content

Commit 4c725c8

Browse files
committed
[Android]update README and simple filter header files
1 parent 570ad9d commit 4c725c8

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

Android/APIExample/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Since version 4.0.0, Agora SDK provides an Extension Interface Framework. Develo
4040
In order to enable it, you could do as follows:
4141
4242
1. Download [opencv](https://github.com/AgoraIO/API-Examples/releases/download/3.7.201/opencv4.zip) library, unzip it and copy into Android/APIExample/agora-simple-filter/src/main/jniLibs
43-
2. Download [Agora SDK包](https://download.agora.io/sdk/release/Agora_Native_SDK_for_Android_v4.0.0.preview.5_full.zip), unzip it and copy c++ .so library (keeps arch folder) to Android/APIExample/agora-simple-filter/src/main/agoraLibs
43+
2. Download [Agora SDK包](https://download.agora.io/sdk/release/Agora_Native_SDK_for_Android_v4.0.0-rc.1_FULL.zip), unzip it and copy c++ .so library (keeps arch folder) to Android/APIExample/agora-simple-filter/src/main/agoraLibs
4444
3. Modify simpleFilter to true in Android/APIExample/gradle.properties
4545
4646
## Contact Us
@@ -51,7 +51,7 @@ In order to enable it, you could do as follows:
5151
- Repositories managed by developer communities can be found at [Agora Community](https://github.com/AgoraIO-Community)
5252
- You can find full API documentation at [Document Center](https://docs.agora.io/en/)
5353
- If you encounter problems during integration, you can ask question in [Stack Overflow](https://stackoverflow.com/questions/tagged/agora.io)
54-
- You can file bugs about this sample at [issue](https://github.com/AgoraIO/Basic-Video-Call/issues)
54+
- You can file bugs about this sample at [issue](https://github.com/AgoraIO/API-Examples/issues)
5555
5656
## License
5757

Android/APIExample/README.zh.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
从4.0.0SDK开始,Agora SDK支持插件系统和开放的云市场帮助开发者发布自己的音视频插件,本项目包含了一个SimpleFilter示例,默认是禁用的状态,如果需要开启编译和使用需要完成以下步骤:
3939
4040
1. 下载 [opencv](https://github.com/AgoraIO/API-Examples/releases/download/3.7.201/opencv4.zip) 解压后复制到 Android/APIExample/agora-simple-filter/src/main/jniLibs
41-
2. 手动下载[Agora SDK包](https://download.agora.io/sdk/release/Agora_Native_SDK_for_Android_v4.0.0.preview.5_full.zip), 解压后将c++动态库(包括架构文件夹)copy到Android/APIExample/agora-simple-filter/src/main/agoraLibs
41+
2. 手动下载[Agora SDK包](https://download.agora.io/sdk/release/Agora_Native_SDK_for_Android_v4.0.0-rc.1_FULL.zip), 解压后将c++动态库(包括架构文件夹)copy到Android/APIExample/agora-simple-filter/src/main/agoraLibs
4242
3. 修改Android/APIExample/gradle.properties配置文件中simpleFilter值为true
4343
4444
## 联系我们
@@ -50,7 +50,7 @@
5050
- 完整的 API 文档见 [文档中心](https://docs.agora.io/cn/)
5151
- 若遇到问题需要开发者帮助,你可以到 [开发者社区](https://rtcdeveloper.com/) 提问
5252
- 如果需要售后技术支持, 你可以在 [Agora Dashboard](https://dashboard.agora.io) 提交工单
53-
- 如果发现了示例代码的 bug,欢迎提交 [issue](https://github.com/AgoraIO/Basic-Video-Call/issues)
53+
- 如果发现了示例代码的 bug,欢迎提交 [issue](https://github.com/AgoraIO/API-Examples/issues)
5454
5555
## 代码许可
5656

Android/APIExample/agora-simple-filter/src/main/cpp/AgoraRtcKit/AgoraMediaBase.h

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,43 +49,43 @@ enum AudioRoute
4949
/**
5050
* The headset.
5151
*/
52-
ROUTE_HEADSET,
52+
ROUTE_HEADSET = 0,
5353
/**
5454
* The earpiece.
5555
*/
56-
ROUTE_EARPIECE,
56+
ROUTE_EARPIECE = 1,
5757
/**
5858
* The headset with no microphone.
5959
*/
60-
ROUTE_HEADSETNOMIC,
60+
ROUTE_HEADSETNOMIC = 2,
6161
/**
6262
* The speakerphone.
6363
*/
64-
ROUTE_SPEAKERPHONE,
64+
ROUTE_SPEAKERPHONE = 3,
6565
/**
6666
* The loudspeaker.
6767
*/
68-
ROUTE_LOUDSPEAKER,
68+
ROUTE_LOUDSPEAKER = 4,
6969
/**
7070
* The Bluetooth headset.
7171
*/
72-
ROUTE_HEADSETBLUETOOTH,
72+
ROUTE_HEADSETBLUETOOTH = 5,
7373
/**
74-
* The HDMI
74+
* The USB
7575
*/
76-
ROUTE_HDMI,
76+
ROUTE_USB = 6,
7777
/**
78-
* The USB
78+
* The HDMI
7979
*/
80-
ROUTE_USB,
80+
ROUTE_HDMI = 7,
8181
/**
8282
* The DISPLAYPORT
8383
*/
84-
ROUTE_DISPLAYPORT,
84+
ROUTE_DISPLAYPORT = 8,
8585
/**
8686
* The AIRPLAY
8787
*/
88-
ROUTE_AIRPLAY
88+
ROUTE_AIRPLAY = 9,
8989
};
9090

9191
/**

0 commit comments

Comments
 (0)