mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-23 06:08:07 +00:00
fix for android dtmfs playing
This commit is contained in:
parent
19d666cd1a
commit
8e87a3eb3d
2 changed files with 1 additions and 7 deletions
|
|
@ -3363,13 +3363,7 @@ static MSFilter *get_dtmf_gen(LinphoneCore *lc){
|
|||
}
|
||||
if (lc->ringstream==NULL){
|
||||
MSSndCard *ringcard=lc->sound_conf.lsd_card ?lc->sound_conf.lsd_card : lc->sound_conf.ring_sndcard;
|
||||
const char *playfile;
|
||||
#ifdef ANDROID
|
||||
playfile="/data/data/org.linphone/files/silence.wav";
|
||||
#else
|
||||
playfile=NULL;
|
||||
#endif
|
||||
lc->ringstream=ring_start(playfile,0,ringcard);
|
||||
lc->ringstream=ring_start(NULL,0,ringcard);
|
||||
lc->dmfs_playing_start_time=time(NULL);
|
||||
}else{
|
||||
if (lc->dmfs_playing_start_time!=0)
|
||||
|
|
|
|||
Binary file not shown.
Loading…
Add table
Reference in a new issue