AgoraAudioExternalSourcePos Constants Reference
Declared in | AgoraEnumerates.h |
---|---|
Availability | v3.5.1 |
AgoraAudioExternalSourcePos
The push position of the external audio frame. Set in pushExternalAudioFrameRawData, pushExternalAudioFrameSampleBuffer, or setExternalAudioSourceVolume.
Definition
typedef NS_ENUM(NSUInteger, AgoraAudioExternalSourcePos ) {
AgoraAudioExternalPlayoutSource = 0,
AgoraAudioExternalRecordSourcePreProcess = 1,
AgoraAudioExternalRecordSourcePostProcess = 2,
};
Constants
AgoraAudioExternalPlayoutSource
-
0: The position before local playback. If you need to play the external audio frame on the local client, set this position.
Declared In
AgoraEnumerates.h
. AgoraAudioExternalRecordSourcePreProcess
-
1: The position after audio capture and before audio pre-processing. If you need the audio module of the SDK to process the external audio frame, set this position.
Declared In
AgoraEnumerates.h
. AgoraAudioExternalRecordSourcePostProcess
-
2: The position after audio pre-processing and before audio encoding. If you do not need the audio module of the SDK to process the external audio frame, set this position.
Declared In
AgoraEnumerates.h
.
Availability
v3.5.1
Declared In
AgoraEnumerates.h