RAW_AUDIO_FRAME_OP_MODE_TYPE

Usage mode of audio data.

Enumerations

RAW_AUDIO_FRAME_OP_MODE_READ_ONLY
(0): Read-only mode. You can only read raw data from AudioFrame without making any modifications. For example, you fetch data via Agora SDK and push it to a media stream.
RAW_AUDIO_FRAME_OP_MODE_READ_WRITE
(2): Read-write mode. You read data from AudioFrame, modify it, and then play it. For example, you use your own audio effect processing module for voice preprocessing, such as voice changing.