uint8ListSink
  uint8ListSink property
Getter of one of the three StreamSink that you may use to feed a player from Stream.
This stream is used when you have interleaved audio data and you don't want a flow control. You can look to this small guide if you need precisions.
Return
The StreamSink that you may use to feed the player
example
await myPlayer.startPlayerFromStream
(
    codec: Codec.pcmFloat32
    numChannels: 2
    sampleRate: 48100
    interleaved: true,
);
myPlayer.uint8ListSink.add(myData);
See also
- float32Sink
 - int16Sink
 - feedF32FromStream()
 - feedInt16FromStream()
 - feedUint8FromStream()
 - You can also look to this small guide if you need precisions.
 
Implementation
StreamSink<Uint8List>? get uint8ListSink => _pcmUint8Controller?.sink;