I’m having problems running Halion Sonic SE offline.
This is what my host code does:
- create an instance of Halion
- restore its state (copied from another instance)
- call process() in a loop as fast as possible. This is in a background thread.
Both IAudioProcessor.setupProcessing() and Process() ‘see’ kOffline.
This is what happens:
- output is silent until after approx. 100 bars some crackling notes appear. A bit later it starts to sound right.
- it works OK if I call sleep() after each process call, effectively making it run realtime.
Halion clearly doesn’t wait for it’s samples to be read from disk.
Looks like this problem is with Halion only, ie. samplers from other vendors work fine.
Any ideas?
Edit: the issue happens with the AU version of Halion too.