AudioMixingReasonType

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

Enumerator

AudioMixingReasonOk
0: The SDK opens music file successfully.
AudioMixingReasonCanNotOpen
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.
AudioMixingReasonTooFrequentCall
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.
AudioMixingReasonInterruptedEof
703: The music file playback is interrupted.
AudioMixingReasonOneLoopCompleted
721: The music file completes a loop playback.
AudioMixingReasonAllLoopsCompleted
723: The music file completes all loop playback.
AudioMixingReasonStoppedByUser
724: Successfully call stopAudioMixing to stop playing the music file.