diff --git a/src/audio/ma_impl.cpp b/src/audio/ma_impl.cpp new file mode 100644 index 0000000..662e2b2 --- /dev/null +++ b/src/audio/ma_impl.cpp @@ -0,0 +1,2 @@ +#define MINIAUDIO_IMPLEMENTATION +#include diff --git a/src/audio/manager.cpp b/src/audio/manager.cpp index 618773d..6e85ed8 100644 --- a/src/audio/manager.cpp +++ b/src/audio/manager.cpp @@ -9,7 +9,6 @@ #include #include #include -#define MINIAUDIO_IMPLEMENTATION #include #include #include diff --git a/src/notifications/notifier_gio.cpp b/src/notifications/notifier_gio.cpp index 22d4c87..128167f 100644 --- a/src/notifications/notifier_gio.cpp +++ b/src/notifications/notifier_gio.cpp @@ -1,9 +1,6 @@ #include "notifier.hpp" #include -#define MINIAUDIO_IMPLEMENTATION -#include - Notifier::Notifier() { #ifdef ENABLE_NOTIFICATION_SOUNDS if (ma_engine_init(nullptr, &m_engine) != MA_SUCCESS) {