Very long .flac files loaded into clip don't play back right away (first time only)

Hi @dave96 - I am loading very long .flac files (30mins - 1 hour) into clips in Tracktion Engine, and the first time they are played back, it takes a few seconds before I can hear the audio after starting the transport.

Once they are played once, they can play without issue thereafter.

Is there some kind of decoding/caching happening in the background that’s causing this?

I would just be using uncompressed .wav or .aiff but it’s a mobile application so these long files would be a real disk space drain on the target devices. I also don’t want to use lossy files either that might decode quicker.

Is there any way I can load portions of the files being loaded into the clips/tracks to memory somehow to avoid this?

If you call setUsesProxy (false) on the clip it should just read the flac file directly. Does that help?