AUDIO_MIXING_REASON_TYPE

The reason why the playback state of the music file changes. Reported in the onAudioMixingStateChanged callback.

Enumerator

AUDIO_MIXING_REASON_OK
0: The SDK opens music file successfully.
AUDIO_MIXING_REASON_CAN_NOT_OPEN
701: The SDK cannot open the music file. For example, the local music file does not exist, the SDK does not support the file format, or the the SDK cannot access the music file URL.
AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
702: The SDK opens the music file too frequently. If you need to call startAudioMixing multiple times, ensure that the call interval is more than 500 ms.
AUDIO_MIXING_REASON_INTERRUPTED_EOF
703: The music file playback is interrupted.
AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
721: The music file completes a loop playback.
AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
723: The music file completes all loop playback.
AUDIO_MIXING_REASON_STOPPED_BY_USER
724: Successfully call stopAudioMixing to stop playing the music file.