AudioMixingReasonType

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

Enumerations

audioMixingReasonOk
0: Successfully opened the music file.
audioMixingReasonCanNotOpen
701: Failed to open the music file. For example, the local file does not exist, the format is not supported, or the online music file URL is inaccessible.
audioMixingReasonTooFrequentCall
702: Music file is opened too frequently. If you need to call startAudioMixing multiple times, ensure the interval between calls is greater than 500 ms.
audioMixingReasonInterruptedEof
703: Music file playback interrupted.
audioMixingReasonOneLoopCompleted
721: One loop of music file playback completed.
audioMixingReasonAllLoopsCompleted
723: All loops of music file playback completed.
audioMixingReasonStoppedByUser
724: Successfully stopped music file playback by calling stopAudioMixing.