Interface IAudioPcmFrameSink

This class is used to get raw PCM audio.

You can inherit this class and implement the onFrame callback to get raw PCM audio.

Hierarchy

  • IAudioPcmFrameSink

Methods

Methods

  • Occurs each time the player receives an audio frame.

    After registering the audio frame observer, the callback occurs every time the player receives an audio frame, reporting the detailed information of the audio frame.

    Parameters

    • frame: AudioPcmFrame

      The audio frame information. See AudioPcmFrame.

    Returns void

Generated using TypeDoc