diff --git a/audio/ess/LoadedFile.cpp b/audio/ess/LoadedFile.cpp index 75d4718..72a8e2d 100644 --- a/audio/ess/LoadedFile.cpp +++ b/audio/ess/LoadedFile.cpp @@ -53,7 +53,7 @@ audio::ess::LoadedFile::LoadedFile(const std::string& _fileName, int8_t _nbChanR #if defined(__TARGET_OS__Android) pthread_create(&m_thread, nullptr, &audio::ess::LoadedFile::threadCallback, this); #else - m_thread = std::make_shared(&audio::ess::LoadedFile::threadCall, this); + m_thread = ememory::makeShared(&audio::ess::LoadedFile::threadCall, this); if (m_thread == nullptr) { EWOLSA_ERROR("Can not create thread ..."); return; diff --git a/audio/ess/LoadedFile.h b/audio/ess/LoadedFile.h index 51678f9..cc673a8 100644 --- a/audio/ess/LoadedFile.h +++ b/audio/ess/LoadedFile.h @@ -7,6 +7,7 @@ #include #include +#include namespace audio { namespace ess { @@ -21,7 +22,7 @@ namespace audio { #if defined(__TARGET_OS__Android) pthread_t m_thread; #else - std::shared_ptr m_thread; + ememory::SharedPtr m_thread; #endif public: LoadedFile(const std::string& _fileName, int8_t _nbChanRequested=1); diff --git a/audio/ess/effects.cpp b/audio/ess/effects.cpp index fff2e99..a633b04 100644 --- a/audio/ess/effects.cpp +++ b/audio/ess/effects.cpp @@ -12,7 +12,7 @@ #include