[DEV] update to ne new ejson API (remove helper)

This commit is contained in:
2016-04-28 23:46:12 +02:00
parent aa5df52e14
commit 07a56e29ae
8 changed files with 32 additions and 32 deletions

View File

@@ -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") {