process

abstract fun process(packet: SourceAudioPacket)

Processes an incoming audio packet and plays the audio.

Parameters

packet

The audio packet to process.


abstract fun process(packet: SourceAudioEndPacket)

Processes an audio end packet indicating the end of audio playback.

Parameters

packet

The audio end packet to process.