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 music file does not exist, the file format is not supported, or the online music file URL is not accessible.
AudioMixingReasonTooFrequentCall
702: Music file opened too frequently. If you need to call startAudioMixing multiple times, make sure the interval between calls is greater than 500 ms.
AudioMixingReasonInterruptedEof
703: Music file playback was 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.