Skip to content

Decrease APPeaksGenerator priority

David Keller requested to merge BlobCodes/decibels:fix/async-peaks into main

Improves #83

This MR decreases the priority of the message callback attached to APPeaksGenerators 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 (?).

Merge request reports