Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat. support setLocalVoiceChanger #25

Merged
merged 1 commit into from
Aug 6, 2019
Merged

feat. support setLocalVoiceChanger #25

merged 1 commit into from
Aug 6, 2019

Conversation

unclexiao
Copy link

目的:主要是针对 #23 提到的问题进行修复,新增了对语音变声效果的支持。

做法:根据SDK预设的6个选项,新增了枚举类型:

enum VoiceChanger {
  /// The original voice (no local voice change).
  VOICE_CHANGER_OFF,

  /// An old man's voice.
  VOICE_CHANGER_OLDMAN,

  /// A little boy's voice.
  VOICE_CHANGER_BABYBOY,

  ///A little girl's voice.
  VOICE_CHANGER_BABYGILR,

  /// Zhu Bajie's voice (Zhu Bajie is a character from Journey to the West who has a voice like a growling bear).
  VOICE_CHANGER_ZHUBAJIE,

  /// Ethereal vocal effects.
  VOICE_CHANGER_ETHEREAL,

  /// Hulk's voice.
  VOICE_CHANGER_HULK
}

并在invokeMethod方法转换为整形参数

特别说明:需要升级io.agora.rtc:full-sdk依赖到最新版,才有支持这个方法。

@plutoless plutoless requested review from Matrixbirds and PRWrl August 6, 2019 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants