- initial work to replace MT::SevanaMos with sevana::aqua & sevana::pvqa

This commit is contained in:
Dmytro Bogovych 2020-06-27 10:59:50 +03:00
parent ad110c3d97
commit e1501e5ddc
2 changed files with 4 additions and 2 deletions

View File

@ -337,7 +337,7 @@ void AgentImpl::processStartSession(Json::Value& request, Json::Value& answer)
if (temp_path.size())
config += " -fau " + temp_path;
MT::PSevanaAqua qc = std::make_shared<MT::SevanaAqua>();
auto qc = std::make_shared<sevana::aqua>();
qc->setTempPath(temp_path);
qc->configureWith(MT::SevanaAqua::parseConfig(config));

View File

@ -13,6 +13,8 @@
#include "Agent_AudioManager.h"
#include <mutex>
#include <condition_variable>
#include "aqua++.h"
#include "pvqa++.h"
class AgentImpl: public UserAgent
#if defined(USE_AQUA_LIBRARY)
@ -34,7 +36,7 @@ protected:
#if defined(USE_AQUA_LIBRARY)
// Keys are the same as used in mSessionMap
typedef std::map<int, MT::PSevanaAqua> AquaMap;
typedef std::map<int, std::shared_ptr<sevana::aqua> AquaMap;
AquaMap mAquaMap;
ByteBuffer mAquaIncoming, mAquaOutgoing;
#endif