mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
add silence file for android
This commit is contained in:
parent
5fadf3bd01
commit
19d666cd1a
2 changed files with 7 additions and 1 deletions
|
|
@ -3363,7 +3363,13 @@ 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;
|
||||
lc->ringstream=ring_start(NULL,0,ringcard);
|
||||
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->dmfs_playing_start_time=time(NULL);
|
||||
}else{
|
||||
if (lc->dmfs_playing_start_time!=0)
|
||||
|
|
|
|||
BIN
share/rings/silence.wav
Normal file
BIN
share/rings/silence.wav
Normal file
Binary file not shown.
Loading…
Add table
Reference in a new issue