- consolidated the different file access interfaces in the backends into one shared version.

This was getting a bit unwieldy. The include path setup is not perfect yet, that's work for later.
(It's about time we're getting C++20 with modules so that this include path madness can be put to an end.)
This commit is contained in:
Christoph Oelckers 2019-09-28 23:17:16 +02:00
commit 7468c0f36d
28 changed files with 504 additions and 634 deletions

View file

@ -3,7 +3,6 @@
#include <memory>
#include "timidity.h"
#include "timidity_file.h"
#include "common.h"
#include "instrum.h"
#include "sf2.h"
@ -57,7 +56,7 @@ void Instruments::font_add(const char *filename, int load_order)
}
else
{
auto fp = sfreader->open_timidity_file(filename);
auto fp = sfreader->open_file(filename);
if (fp)
{