summaryrefslogtreecommitdiff
path: root/src/ua.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-09-04 10:49:41 +0200
committerAlfred E. Heggestad <aeh@db.org>2016-09-04 10:49:41 +0200
commit8abcfeb1486a093a07360c63ea65958e3daaa57d (patch)
treee1bdfe78788ce83ff94f08d8ebc537d69bd8c561 /src/ua.c
parent1939f2d3ec202c27b43cf6c2350d0b1cd2f6933c (diff)
play: make it re-entrant, add struct player
Diffstat (limited to 'src/ua.c')
-rw-r--r--src/ua.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/ua.c b/src/ua.c
index 9df14d8..e6287fd 100644
--- a/src/ua.c
+++ b/src/ua.c
@@ -1341,8 +1341,6 @@ int ua_init(const char *software, bool udp, bool tcp, bool tls,
uag.cfg = &cfg->sip;
bsize = cfg->sip.trans_bsize;
- play_init();
-
uag.use_udp = udp;
uag.use_tcp = tcp;
uag.use_tls = tls;
@@ -1396,7 +1394,6 @@ int ua_init(const char *software, bool udp, bool tcp, bool tls,
void ua_close(void)
{
cmd_unregister(baresip_commands(), cmdv);
- play_close();
ui_reset();
uag.evsock = mem_deref(uag.evsock);