From 0225d946894ae1153dccde34909be98a1bf8740b Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Thu, 25 Nov 2010 11:48:48 +0100 Subject: [PATCH] fix ringback tone again --- coreapi/linphonecall.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/coreapi/linphonecall.c b/coreapi/linphonecall.c index 1d123b91a..53a07a007 100644 --- a/coreapi/linphonecall.c +++ b/coreapi/linphonecall.c @@ -804,7 +804,11 @@ void linphone_call_start_media_streams(LinphoneCall *call, bool_t all_inputs_mut playcard=NULL; captcard=NULL; recfile=NULL; - if (!send_ringbacktone) playfile=NULL; + playfile=NULL; + } + if (send_ringbacktone){ + captcard=NULL; + playfile=NULL;/* it is setup later*/ } /*if playfile are supplied don't use soundcards*/ if (lc->use_files) {