1
0
Fork 0

Fix 261e09a549: Compilation failure with Fluidsynth enabled. (#14167)

pull/14158/head
Peter Nelson 2025-04-30 07:27:57 +01:00 committed by GitHub
parent 7bec2029fa
commit 356b0159c7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ std::optional<std::string_view> MusicDriver_FluidSynth::Start(const StringList &
}
if (sfont_id == FLUID_FAILED) return "Could not open any sound font";
} else {
std::string name{sfont_name};
std::string name{sfont_name.value()};
sfont_id = fluid_synth_sfload(_midi.synth, name.c_str(), 1);
if (sfont_id == FLUID_FAILED) return "Could not open sound font";
}