 shows how to play Live data, without Back Pressure from Flutter Sound</p>
<pre class="language-dart"><code class="language-dart">await myPlayer.startPlayerFromStream(codec: Codec.pcm16, numChannels: 1, sampleRate: 48000);

myPlayer.foodSink.add(FoodData(aBuffer));
myPlayer.foodSink.add(FoodData(anotherBuffer));
myPlayer.foodSink.add(FoodData(myOtherBuffer));
myPlayer.foodSink.add(FoodEvent((){_mPlayer.stopPlayer();}));
</code></pre>
</section>

    
<section class="summary source-code" id="source">
  <h2><