27 Nov
2025
27 Nov
'25
6:57 p.m.
On Thu Nov 27 18:53:59 2025 +0000, Anton Baskanov wrote:
Some SF2 generators already map to `<src> -> <dst>` connections, e.g. `SF_GEN_VIB_LFO_TO_PITCH` is mapped to `CONN_SRC_VIBRATO -> CONN_DST_PITCH`. There are also modulators that output to such generators, e.g. `SF_MOD_CTRL_GEN_CHAN_PRESSURE -> SF_GEN_VIB_LFO_TO_PITCH` which is mapped to `CONN_SRC_VIBRATO mod CONN_SRC_CHANNELPRESSURE -> CONN_DST_PITCH`. It's the latter case that is handled by this `else` branch. Right, sorry I misread `gen_to_conn_src` as `gen_to_conn_dst`.
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/9607#note_123972