OnAudioMixingPositionChanged

Reports the playback progress of a music file.

public virtual void OnAudioMixingPositionChanged(long position) { }

Details

After you called the StartAudioMixing [2/2] method to play a music file, the SDK triggers this callback every two seconds to report the playback progress.

Parameters

position
The playback progress (ms).

Returns

  • 0: Success.
  • < 0: Failure.