NERtc Windows SDK
V4.4.301
|
#include <nertc_engine_defines.h>
Public 属性 | |
char | path [kNERtcMaxURILength] |
int | loop_count |
bool | send_enabled |
uint32_t | send_volume |
bool | playback_enabled |
uint32_t | playback_volume |
Configuration items for audio effects.
int nertc::NERtcCreateAudioEffectOption::loop_count |
The number of loops the audio effect is played: -1: (Default) plays the audio effect for one time. -≤ 0: Play sound effects in an infinite loop until you stop the playback by calling stopEffect or stopAllEffects.
char nertc::NERtcCreateAudioEffectOption::path[kNERtcMaxURILength] |
The path of the audio effect file. The local absolute paths or URL addresses are supported.
bool nertc::NERtcCreateAudioEffectOption::playback_enabled |
Specifies whether to play back. The default value is true. You can play back the local audio file.
uint32_t nertc::NERtcCreateAudioEffectOption::playback_volume |
Indicates the playback volume of a music file. Valid values: 0 to 100. The default value is 100, which indicates that the original volume of the file is used.
bool nertc::NERtcCreateAudioEffectOption::send_enabled |
Specifies whether to send the mixing audio to the remote client. The default value is true. The remote user can hear the mixing audio after the remote user subscribes to the local audio stream.
uint32_t nertc::NERtcCreateAudioEffectOption::send_volume |
Indicates the publishing volume of a music file. Valid values: 0 to 100. The default value is 100, which indicates that the original volume of the file is used.