Decrease APPeaksGenerator priority
Improves #83
This MR decreases the priority of the message callback attached to APPeaksGenerator
s GstPipeline
from GLIB_PRIORITY_DEFAULT
to GLIB_PRIORITY_DEFAULT_IDLE
.
This way, even if the audio file can be read faster than JavaScript can handle, the UI will still be rendered.
Maybe the priority should even be decreased to GLIB_PRIORITY_LOW
(?).