free-audio / clap-plugins

MIT License
61 stars 9 forks source link

Note Expression Module forEachActiveVoice template requires int32_t for note_id. #26

Open dbadb opened 4 months ago

dbadb commented 4 months ago

voiceExpanderModule.h

template <class Callback>
    void foreachActiveVoice(int16_t noteId, // <-----  we're dropping 16 bits here, clap_event_note accepts int32_t
                            int16_t port,
                            int32_t channel,
                            int16_t key,
                            const Callback &callback) const