NERtc iOS SDK  V4.4.301
属性 | 所有成员列表
NERtcCreateAudioEffectOption类 参考

Options for creating audio effects 更多...

#import <NERtcEngineBase.h>

类 NERtcCreateAudioEffectOption 继承关系图:

属性

NSString * path
 The path of the audio effect file. 更多...
 
int loopCount
 The number of loops the audio effect is played: 更多...
 
BOOL sendEnabled
 Whether to send the sound effect to the far end. 更多...
 
BOOL playbackEnabled
 Specifies whether to play the audio effect on the client. 更多...
 
uint32_t sendVolume
 Indicates the publishing volume of an audio effect file. 更多...
 
uint32_t playbackVolume
 Indicates the playback volume of an audio effect file. 更多...
 

详细描述

Options for creating audio effects

属性说明

◆ loopCount

- (int) loopCount
readwritenonatomicassign

The number of loops the audio effect is played:

-1: (Default) plays the audio effect for one time. -≤ 0: plays sound effects in an infinite loop until you stop the playback by calling stopEffect or stopAllEffects.

◆ path

- (NSString*) path
readwritenonatomiccopy

The path of the audio effect file.

The local absolute paths or URL addresses are supported.

  • The file name and extension.
  • Supported audio formats: MP3, M4A、AAC, 3GP, WMA, and WAV.

◆ playbackEnabled

- (BOOL) playbackEnabled
readwritenonatomicassign

Specifies whether to play the audio effect on the client.

The default value is YES. The local users can hear the audio effect.

◆ playbackVolume

- (uint32_t) playbackVolume
readwritenonatomicassign

Indicates the playback volume of an audio effect file.

Valid values: 0 to 100. The default value is 100, which indicates that the original volume of the audio file is used.

注解
If you modify the volume setting during a call, this setting will be used by default when you call the method again during the current call.

◆ sendEnabled

- (BOOL) sendEnabled
readwritenonatomicassign

Whether to send the sound effect to the far end.

The default value is YES. The remote users can hear the audio effect.

◆ sendVolume

- (uint32_t) sendVolume
readwritenonatomicassign

Indicates the publishing volume of an audio effect file.

Valid values: 0 to 100. The default value is 100, which indicates that the original volume of the audio file is used.

注解
If you modify the volume setting during a call, this setting will be used by default when you call the method again during the current call.

该类的文档由以下文件生成: