◆ getAudioCaptureVolume()
int com.tencent.tccc.TCCCDeviceManager.getAudioCaptureVolume |
( |
| ) |
|
◆ getAudioPlayoutVolume()
int com.tencent.tccc.TCCCDeviceManager.getAudioPlayoutVolume |
( |
| ) |
|
◆ setAudioCaptureVolume()
void com.tencent.tccc.TCCCDeviceManager.setAudioCaptureVolume |
( |
int |
volume | ) |
|
设定本地音频的采集音量
- Parameters
-
volume | 音量大小,取值范围为0 - 100;默认值:100 如果将 volume 设置成 100 之后感觉音量还是太小,可以将 volume 最大设置成 150,但超过 100 的 volume 会有爆音的风险,请谨慎操作。 |
◆ setAudioPlayoutVolume()
void com.tencent.tccc.TCCCDeviceManager.setAudioPlayoutVolume |
( |
int |
volume | ) |
|
设定远端音频的播放音量
- Parameters
-
volume | 如果将 volume 设置成 100 之后感觉音量还是太小,可以将 volume 最大设置成 150,但超过 100 的 volume 会有爆音的风险,请谨慎操作。 |
◆ setAudioRoute()
void com.tencent.tccc.TCCCDeviceManager.setAudioRoute |
( |
TCCCAudioRoute |
route | ) |
|
设置音频路由(仅适用于移动端)
- Parameters
-
route | * 手机有两个音频播放设备:一个是位于手机顶部的听筒,一个是位于手机底部的立体声扬声器。
- 0 设置音频路由为听筒时,声音比较小,只有将耳朵凑近才能听清楚,隐私性较好,适合用于接听电话。
- 1 设置音频路由为扬声器时,声音比较大,不用将手机贴脸也能听清,因此可以实现“免提”的功能。
|
The documentation for this interface was generated from the following file:
- /Users/gavinwjwang/work/ugit/TCCC/tccc-workstation-sdk/src/platform/android/tcccswap/src/main/java/com/tencent/tccc/TCCCDeviceManager.java