From: Anton Baskanov baskanov@gmail.com
--- dlls/dmusic/instrument.c | 1 + 1 file changed, 1 insertion(+)
diff --git a/dlls/dmusic/instrument.c b/dlls/dmusic/instrument.c index d028600a65c..90b829402b7 100644 --- a/dlls/dmusic/instrument.c +++ b/dlls/dmusic/instrument.c @@ -574,6 +574,7 @@ static HRESULT instrument_add_soundfont_region(struct instrument *This, struct s region->header.RangeKey.usHigh = generators->amount[SF_GEN_KEY_RANGE].range.high; region->header.RangeVelocity.usLow = generators->amount[SF_GEN_VEL_RANGE].range.low; region->header.RangeVelocity.usHigh = generators->amount[SF_GEN_VEL_RANGE].range.high; + region->header.usKeyGroup = generators->amount[SF_GEN_EXCLUSIVE_CLASS].value;
region->wave_link.ulTableIndex = sample_index;