[DEV] update to ne new ejson API (remove helper)
This commit is contained in:
@@ -33,7 +33,7 @@ bool audio::river::Interface::init(float _freq,
|
||||
m_node = _node;
|
||||
m_config = _config;
|
||||
m_mode = audio::river::modeInterface_unknow;
|
||||
std::string type = m_config.getStringValue("io", "error");
|
||||
std::string type = m_config["io"].toString().get("error");
|
||||
static int32_t uid=0;
|
||||
m_name = _node->getName() + "__" + (_node->isInput()==true?"input":"output") + "__" + type + "__" + etk::to_string(uid++);
|
||||
if (type == "output") {
|
||||
|
Reference in New Issue
Block a user