Midi Kit: Actually look in /home/config/settings/synth/synth.sf2
This commit is contained in:
@@ -88,6 +88,7 @@ BSoftSynth::SetDefaultInstrumentsFile()
|
|||||||
// in the user settings directory
|
// in the user settings directory
|
||||||
BPath path;
|
BPath path;
|
||||||
if (find_directory(B_USER_SETTINGS_DIRECTORY, &path, false, NULL) == B_OK) {
|
if (find_directory(B_USER_SETTINGS_DIRECTORY, &path, false, NULL) == B_OK) {
|
||||||
|
path.Append("/synth/");
|
||||||
path.Append(kSynthFileName);
|
path.Append(kSynthFileName);
|
||||||
if (BEntry(path.Path()).Exists())
|
if (BEntry(path.Path()).Exists())
|
||||||
return SetInstrumentsFile(path.Path());
|
return SetInstrumentsFile(path.Path());
|
||||||
|
|||||||
Reference in New Issue
Block a user