Is the Samplemap Broadcast Receiver Supposed to Fire Twice When It's Defined?
-
For me, it actually executes twice. Anyone else? Thanks.
EDIT: I typed the wrong question. But I'm halfway there thanks to @d-healey.
EDIT of EDIT: The answer is, "Sort of." I was calling "clearSampleMap();" which also triggered the broadcaster.
-
If you're using addListener, then yes - https://docs.hise.dev/scripting/scripting-api/broadcaster/index.html#addlistener
-
@d-healey Thank you. That explains one of them. I'll check if I'm adding the receiver twice.
-