AUDIO_MIXING_REASON_TYPE

Reason for music file playback state change. Reported in the OnAudioMixingStateChanged callback.

Enumerations

AUDIO_MIXING_REASON_OK
0: Music file opened successfully.
AUDIO_MIXING_REASON_CAN_NOT_OPEN
701: Failed to open music file. For example, the local music file does not exist, the file format is not supported, or the online music file URL is inaccessible.
AUDIO_MIXING_REASON_TOO_FREQUENT_CALL
702: Music file opened too frequently. If you need to call startAudioMixing multiple times, ensure the interval between calls is greater than 500 ms.
AUDIO_MIXING_REASON_INTERRUPTED_EOF
703: Music file playback interrupted.
AUDIO_MIXING_REASON_ONE_LOOP_COMPLETED
721: One loop of music file playback completed.
AUDIO_MIXING_REASON_ALL_LOOPS_COMPLETED
723: All loops of music file playback completed.
AUDIO_MIXING_REASON_STOPPED_BY_USER
724: Music file playback stopped successfully by calling StopAudioMixing.