Repository navigation
v3.0.0
What's Changed
BufferStreamnow supports 2 type of buffering:BufferingType.preserved(default): preserve the data already in the buffer while playing.BufferingType.released: free the memory of the already played data for longer playback.
- breaking change: splitted [maxBufferSize] to [maxBufferSizeBytes] and [maxBufferSizeDuration] in
SoLoud.setBufferStream. This gives the user a way to choose the maximum buffer size using bytes or time. - breaking change: removed
initializedgetter in favor ofisInitialized - removed deprecated
timeoutparameter inSoLoud.init. - removed deprecated
filter_params.dart. - fixed biquad resonant filter
frequencydefault parameter #179 - fix: on some unclear conditions
isInitializedreturning false on MacOS after engine starts with no error #177 - fix: Call
loadMemwill crash the application #174. - fix: clicks and pops when changing waveform frequency #156.
- added
LimiterandCompressorfilters (seeexample/lib/filters/). - added BufferStream #148. Now it's possible to add audio data and listen to them. It provides a customizable buffering length which automatycally pauses the playing handle if there is not enough data, for example when receiving audio data from the web. It also provides a callback that allows you to know when the buffering is started and stopped. The audio data can of of the following formats:
s8signed 8 bits16lesigned 16 bit little endians32lesigned 32 bit little endianf32lefloat 32 bit little endianopusOpus codec compressed audio with Ogg container. Useful for streaming from the Web (ie using OpenAI APIs).
- fixed Web Worker initialization non fatal error that could occur on Web.
- fixed sound distortion using single pitchShift filter and changing relative play speed #154.
- fixed the use of
LoadMode.diskon the Web platform which in some cases caused theallInstancesFinishedevent to not be emitted. - improved performance on Web, MacOS and iOS.
- get wave and FFT samples is now simpler and faster.
- To avoid future incompatibilities when using other WASM compiled plugins, it is now necessary to add a new script to
index.html:<script src="assets/packages/flutter_soloud/web/libflutter_soloud_plugin.js" defer></script> <script src="assets/packages/flutter_soloud/web/init_module.dart.js" defer></script>
New Contributors
- @Flower7C3 made their first contribution in #179
- @themailman05 made their first contribution in #178
Full Changelog: v2.1.7...v3.0.0