AudioMixingReasonType

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

Enumerations

AudioMixingReasonOk
0: Music file opened successfully.
AudioMixingReasonCanNotOpen
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.
AudioMixingReasonTooFrequentCall
702: Music file opened too frequently. If you need to call startAudioMixing multiple times, ensure the interval between calls is more than 500 ms.
AudioMixingReasonInterruptedEof
703: Music file playback interrupted.
AudioMixingReasonOneLoopCompleted
721: One loop of the music file playback completed.
AudioMixingReasonAllLoopsCompleted
723: All loops of the music file playback completed.
AudioMixingReasonStoppedByUser
724: Successfully called stopAudioMixing to stop music file playback.