I’m developing a plugin that streams audio out of in-built MIDI loops. Apart from the normal streaming playback, I need the plugin editor to allow users to audition the loops before selecting them, and I was wondering what you would recommend for that. Should I:
a) Use the host audio output, the same way like when the host is driving playback. But can I rely on all hosts continuously calling processBlock(), even when not actually playing?
b) Instantiate my own audio output device within the plugin and process my “audition” calls through that. I understand that this raises different issues that must be handled, like having separate audio processing threads, possible allocation issues of the audio device, etc… But on the other side, it would provide a host-independent solution for any audition output.
What do you guys suggest? Thanks for any feedback.
P.S. @ Jules: great library, man! I’ll be purchasing a license shortly.