Skip to content
This repository was archived by the owner on Jun 19, 2025. It is now read-only.
This repository was archived by the owner on Jun 19, 2025. It is now read-only.

sample preloading query loop #187

@felixroos

Description

@felixroos

Currently, samples are lazily loaded when they are first needed. for most samples, this leads to unwanted silence, because the loading takes longer than the 100ms latency.
It would be pretty useful if there was a separate query loop that preloads the samples with a higher latency, say x seconds.
To ensure there is always at least a buffer of x seconds between preloading and playback, the initial play action would then need to query the first x*2 seconds. Then, after x seconds, the next x seconds are loaded and so on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementimproves an existing feature

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions