iOS improvements for dtmf playing

This commit is contained in:
Simon Morlat 2011-02-09 11:56:38 +01:00
parent e3113fa609
commit 7a7c41df97
2 changed files with 3 additions and 1 deletions

View file

@ -3551,8 +3551,10 @@ static MSFilter *get_dtmf_gen(LinphoneCore *lc){
}
}
if (lc->ringstream==NULL){
float amp=0.1;
MSSndCard *ringcard=lc->sound_conf.lsd_card ?lc->sound_conf.lsd_card : lc->sound_conf.ring_sndcard;
lc->ringstream=ring_start(NULL,0,ringcard);
ms_filter_call_method(lc->ringstream->gendtmf,MS_DTMF_GEN_SET_DEFAULT_AMPLITUDE,&amp);
lc->dmfs_playing_start_time=time(NULL);
}else{
if (lc->dmfs_playing_start_time!=0)

@ -1 +1 @@
Subproject commit f9c63a6e1eac26014166716baa5b33f7c2d91f3f
Subproject commit 8b691f60d9c1d46c1d37d214be869cfd94c76e73