[DEV] update the framework
This commit is contained in:
parent
fefcb64798
commit
2f3a2c5976
@ -9,7 +9,7 @@
|
||||
#include <eaudiofx/debug.h>
|
||||
#include <eaudiofx/base/ReceiverRiver.h>
|
||||
#include <eaudiofx/core/BufferAudio.h>
|
||||
#include <airtaudio/Interface.h>
|
||||
|
||||
|
||||
#undef __class__
|
||||
#define __class__ "ReceiverRiver"
|
||||
@ -52,8 +52,8 @@ void eaudiofx::ReceiverRiver::onDataNeeded(void* _data,
|
||||
}
|
||||
|
||||
int32_t eaudiofx::ReceiverRiver::algoInit() {
|
||||
EAUDIOFX_DEBUG("Intanciate river Manager ...");
|
||||
m_manager = river::Manager::create("eaudio-fx-output");
|
||||
EAUDIOFX_DEBUG("Intanciate audio::river Manager ...");
|
||||
m_manager = audio::river::Manager::create("eaudio-fx-output");
|
||||
if (m_manager == nullptr) {
|
||||
EAUDIOFX_ERROR("Can not intanciate RIVER interface");
|
||||
return eaudiofx::ERR_FAIL;
|
||||
|
@ -10,8 +10,8 @@
|
||||
#define __EAUDIOFX_RECEIVER_RIVER_H__
|
||||
|
||||
#include <eaudiofx/core/Block.h>
|
||||
#include <river/Interface.h>
|
||||
#include <river/Manager.h>
|
||||
#include <audio/river/Interface.h>
|
||||
#include <audio/river/Manager.h>
|
||||
#include <eaudiofx/core/BufferAudio.h>
|
||||
|
||||
namespace eaudiofx {
|
||||
@ -38,8 +38,8 @@ namespace eaudiofx {
|
||||
virtual int32_t algoStart();
|
||||
virtual int32_t algoStop();
|
||||
protected:
|
||||
std11::shared_ptr<river::Manager> m_manager;
|
||||
std11::shared_ptr<river::Interface> m_interface;
|
||||
std11::shared_ptr<audio::river::Manager> m_manager;
|
||||
std11::shared_ptr<audio::river::Interface> m_interface;
|
||||
std::vector<int8_t> m_buffer;
|
||||
public:
|
||||
int32_t algoProcess(int64_t _currentTime, int64_t _processTimeSlot);
|
||||
|
@ -4,11 +4,11 @@ import lutinTools as tools
|
||||
import lutinDebug as debug
|
||||
|
||||
def get_desc():
|
||||
return "eaudiofx : Audio interface FX system"
|
||||
return "audio_block_engine : Audio interface FX system"
|
||||
|
||||
|
||||
def create(target):
|
||||
myModule = module.Module(__file__, 'eaudiofx', 'LIBRARY')
|
||||
myModule = module.Module(__file__, 'audio_block_engine', 'LIBRARY')
|
||||
# System core
|
||||
myModule.add_src_file([
|
||||
'eaudiofx/debug.cpp',
|
||||
@ -33,7 +33,7 @@ def create(target):
|
||||
])
|
||||
|
||||
# name of the dependency
|
||||
myModule.add_module_depend(['river', 'ewol', 'ejson'])
|
||||
myModule.add_module_depend(['audio_river', 'ewol', 'ejson'])
|
||||
|
||||
myModule.add_export_path(tools.get_current_path(__file__))
|
||||
|
@ -4,11 +4,11 @@ import lutinTools as tools
|
||||
import lutinDebug as debug
|
||||
|
||||
def get_desc():
|
||||
return "eaudiofx_test : Audio interface FX system test example system"
|
||||
return "audio_block_engine_test : Audio interface FX system test example system"
|
||||
|
||||
|
||||
def create(target):
|
||||
myModule = module.Module(__file__, 'eaudiofx_test', 'PACKAGE')
|
||||
myModule = module.Module(__file__, 'audio_block_engine_test', 'PACKAGE')
|
||||
# basic GUI :
|
||||
myModule.add_src_file([
|
||||
'test/debug.cpp',
|
||||
@ -17,7 +17,7 @@ def create(target):
|
||||
])
|
||||
|
||||
# name of the dependency
|
||||
myModule.add_module_depend(['ewol', 'eaudiofx'])
|
||||
myModule.add_module_depend(['ewol', 'audio_block_engine'])
|
||||
|
||||
myModule.add_export_path(tools.get_current_path(__file__))
|
||||
|
Loading…
Reference in New Issue
Block a user