From 6fcf76e405a695f86a446f430903682f42155f43 Mon Sep 17 00:00:00 2001 From: Simon Morlat Date: Mon, 22 Apr 2013 23:11:10 +0200 Subject: [PATCH] update ms2 and cleanup dead function --- coreapi/linphonecore.c | 20 -------------------- mediastreamer2 | 2 +- 2 files changed, 1 insertion(+), 21 deletions(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 559048c5..bb2b4a83 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -4927,26 +4927,6 @@ void linphone_core_play_dtmf(LinphoneCore *lc, char dtmf, int duration_ms){ else ms_filter_call_method(f, MS_DTMF_GEN_START, &dtmf); } -/** - * @ingroup media_parameters - * Plays a repeated tone to the local user until next further call to #linphone_core_stop_dtmf() - * @param lc #LinphoneCore -**/ -void linphone_core_play_tone(LinphoneCore *lc){ - MSFilter *f=get_dtmf_gen(lc); - MSDtmfGenCustomTone def; - if (f==NULL){ - ms_error("No dtmf generator at this time !"); - return; - } - memset(&def,0,sizeof(def)); - def.duration=300; - def.frequencies[0]=500; - def.amplitude=1; - def.interval=2000; - ms_filter_call_method(f, MS_DTMF_GEN_PLAY_CUSTOM,&def); -} - void linphone_core_play_named_tone(LinphoneCore *lc, LinphoneToneID toneid){ if (linphone_core_tone_indications_enabled(lc)){ MSFilter *f=get_dtmf_gen(lc); diff --git a/mediastreamer2 b/mediastreamer2 index 2720ab1d..23b802c4 160000 --- a/mediastreamer2 +++ b/mediastreamer2 @@ -1 +1 @@ -Subproject commit 2720ab1d1568ced6f0bf63e454a35f340d8ace64 +Subproject commit 23b802c4631fdf909a218a0dd0a77c6cf6d4d5a9 -- 2.39.2