Alexandre Julliard pushed to branch master at wine / wine
Commits: 0ca55c5d by Anton Baskanov at 2025-11-04T22:56:33+01:00 dmusic: Reuse downloaded waves.
Some soundfonts contain multiple zones at both preset and instrument levels, which leads to creation of multiple regions that reference the same wave. Reusing already downloaded waves prevents running out of memory when loading FluidR3_GM.sf2.
- - - - - dfdecb34 by Anton Baskanov at 2025-11-04T22:56:33+01:00 dmsynth: Call fluid_sample_set_sound_data() with copy_data = FALSE.
- - - - - 45f55d94 by Anton Baskanov at 2025-11-04T22:56:33+01:00 dmsynth: Implement callback support in synth_Unload().
- - - - - 839f8fc3 by Anton Baskanov at 2025-11-04T22:56:33+01:00 dmsynth: Release the waves when voices finish playing.
- - - - -
3 changed files:
- dlls/dmsynth/synth.c - dlls/dmsynth/tests/dmsynth.c - dlls/dmusic/instrument.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/1ca0dc1fe4a5b88558bebdeb47c74b...