Switching to another audio file while the waveform is still being generated messes up the waveform
Currently, the GStreamer pipeline behind APPeaksGenerator
is never stopped.
Because of this, when switching to another audio file while the waveform is still being generated, waveform data from the previous audio file are mixed with the current one.
This video shows the issue: