addAudioChunk method

void addAudioChunk(
  1. Uint8List chunk
)

Adds an audio chunk to the audio player.

chunk: The audio data to be added to the player.

Implementation

void addAudioChunk(Uint8List chunk) {
  audioChunkPlayer.feedChunk(chunk); // Feed the audio chunk to the player
}