enqueue abstract method

Future<void> enqueue(
  1. Int16List samples
)

Appends samples — mono Int16 at sampleRate — to the playback queue, opening the output on the first chunk. Resolves once the platform holds the chunk.

Throws XAudioSinkException when the output cannot open.

Implementation

Future<void> enqueue(Int16List samples);