- initial work to replace MT::SevanaMos with sevana::aqua & sevana::pvqa
This commit is contained in:
parent
ad110c3d97
commit
e1501e5ddc
|
|
@ -337,7 +337,7 @@ void AgentImpl::processStartSession(Json::Value& request, Json::Value& answer)
|
||||||
if (temp_path.size())
|
if (temp_path.size())
|
||||||
config += " -fau " + temp_path;
|
config += " -fau " + temp_path;
|
||||||
|
|
||||||
MT::PSevanaAqua qc = std::make_shared<MT::SevanaAqua>();
|
auto qc = std::make_shared<sevana::aqua>();
|
||||||
qc->setTempPath(temp_path);
|
qc->setTempPath(temp_path);
|
||||||
qc->configureWith(MT::SevanaAqua::parseConfig(config));
|
qc->configureWith(MT::SevanaAqua::parseConfig(config));
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,8 @@
|
||||||
#include "Agent_AudioManager.h"
|
#include "Agent_AudioManager.h"
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
#include <condition_variable>
|
#include <condition_variable>
|
||||||
|
#include "aqua++.h"
|
||||||
|
#include "pvqa++.h"
|
||||||
|
|
||||||
class AgentImpl: public UserAgent
|
class AgentImpl: public UserAgent
|
||||||
#if defined(USE_AQUA_LIBRARY)
|
#if defined(USE_AQUA_LIBRARY)
|
||||||
|
|
@ -34,7 +36,7 @@ protected:
|
||||||
|
|
||||||
#if defined(USE_AQUA_LIBRARY)
|
#if defined(USE_AQUA_LIBRARY)
|
||||||
// Keys are the same as used in mSessionMap
|
// 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;
|
AquaMap mAquaMap;
|
||||||
ByteBuffer mAquaIncoming, mAquaOutgoing;
|
ByteBuffer mAquaIncoming, mAquaOutgoing;
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue