From 67c3941db8a7ea1965dbed909f33380200f04090 Mon Sep 17 00:00:00 2001 From: Alexander Lantsev Date: Fri, 17 Apr 2015 23:21:43 +0000 Subject: Tox: audio support pt.4 git-svn-id: http://svn.miranda-ng.org/main/trunk@12898 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Tox/src/tox_core.cpp | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'protocols/Tox/src/tox_core.cpp') 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); -- cgit v1.2.3