Пример #1
0
 /// <summary>
 /// 开启混音 Android,ios有效
 /// </summary>
 /// <param name="filePath">可播放文件地址</param>
 /// <param name="loopback">是否循环播放 true:开启</param>
 /// <param name="replace">是否替换采集声音数据,true:开启</param>
 /// <param name="cycle">循环次数</param>
 /// <param name="volume">混音音量值 [0f-1f]</param>
 public static void StartAudioMixing(String filePath, bool loopback, bool replace, int cycle, float volume)
 {
     DeviceNativeMethods.nim_vchat_start_audio_mixing(filePath, loopback, replace, cycle, volume);
 }