summaryrefslogtreecommitdiff
path: root/protocols/Tox/src/tox_core.cpp
diff options
context:
space:
mode:
authorAlexander Lantsev <aunsane@gmail.com>2015-04-17 23:21:43 +0000
committerAlexander Lantsev <aunsane@gmail.com>2015-04-17 23:21:43 +0000
commit67c3941db8a7ea1965dbed909f33380200f04090 (patch)
tree204629e2f887a7f02952375516a1d22c76c79c1f /protocols/Tox/src/tox_core.cpp
parenta4135a992461726e155c7be95e4ceaabdb3eceff (diff)
Tox: audio support pt.4
git-svn-id: http://svn.miranda-ng.org/main/trunk@12898 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Tox/src/tox_core.cpp')
-rw-r--r--protocols/Tox/src/tox_core.cpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/protocols/Tox/src/tox_core.cpp b/protocols/Tox/src/tox_core.cpp
index 769383c9cb..36b53f8c19 100644
--- a/protocols/Tox/src/tox_core.cpp
+++ b/protocols/Tox/src/tox_core.cpp
@@ -67,11 +67,8 @@ bool CToxProto::InitToxCore()
toxav_register_callstate_callback(toxAv, OnAvCancel, av_OnCancel, this);
toxav_register_callstate_callback(toxAv, OnAvReject, av_OnReject, this);
toxav_register_callstate_callback(toxAv, OnAvEnd, av_OnEnd, this);
- toxav_register_callstate_callback(toxAv, OnAvRinging, av_OnRinging, this);
- toxav_register_callstate_callback(toxAv, OnAvCsChange, av_OnPeerCSChange, this);
- toxav_register_callstate_callback(toxAv, OnAvCsChange, av_OnSelfCSChange, this);
- toxav_register_callstate_callback(toxAv, OnAvRequestTimeout, av_OnRequestTimeout, this);
- toxav_register_callstate_callback(toxAv, OnAvPeerTimeout, av_OnPeerTimeout, this);
+ toxav_register_callstate_callback(toxAv, OnAvTimeout, av_OnRequestTimeout, this);
+ //toxav_register_callstate_callback(toxAv, OnAvTimeout, av_OnPeerTimeout, this);
uint8_t data[TOX_ADDRESS_SIZE];
tox_self_get_address(tox, data);