commit 78fa1b9e04bcdb9eb419202af3a011fb3ab113d3
parent ab8f9be25e5cac56b0b4c0f7c646a271125ceca5
Author: Dominik Schmidt <dominik@schm1dt.ch>
Date: Sat, 16 Nov 2019 17:40:23 +0100
Move the endpoint to the global scope.
This will help later on, when we need to grab the AudioDevManager
from the call class
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/siproc.cpp b/src/siproc.cpp
@@ -93,6 +93,8 @@ EV ev_table = EV();
using namespace pj;
+Endpoint ep;
+
class MyAccount;
class MyCall;
@@ -476,8 +478,6 @@ int main(int argc, char **argv){
}
try{
- Endpoint ep;
-
ep.libCreate();
EpConfig ep_cfg;
ep.libInit(ep_cfg);