summaryrefslogtreecommitdiff
path: root/src/audiofile.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-07-25 17:49:16 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-09-28 20:37:47 +0200
commit9d1ea1e7cfa256c7f5cac027382d92f658734ccb (patch)
tree39ec7cdaa8ed571137430ccbbc0a391bb27427a3 /src/audiofile.h
parentcd9af98abdce1fe3759e786d6b010a7fe3395e2c (diff)
Add generic logger interface for propagating messages while loading drumkits to the commandline
and/or plugin UI.
Diffstat (limited to 'src/audiofile.h')
-rw-r--r--src/audiofile.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/audiofile.h b/src/audiofile.h
index 5a5cc3a..e20d91f 100644
--- a/src/audiofile.h
+++ b/src/audiofile.h
@@ -36,6 +36,7 @@
#include "audio.h"
#include "channel.h"
+#include "logger.h"
class InstrumentChannel;
@@ -46,7 +47,7 @@ public:
InstrumentChannel* instrument_channel = nullptr);
~AudioFile();
- void load(std::size_t sample_limit = std::numeric_limits<std::size_t>::max());
+ void load(LogFunction logger, std::size_t sample_limit = std::numeric_limits<std::size_t>::max());
void unload();
bool isLoaded() const;