mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
cast away
This commit is contained in:
parent
a568f332e5
commit
4bc82605b5
2 changed files with 3 additions and 3 deletions
|
|
@ -5518,11 +5518,11 @@ static MSFilter *get_audio_resource(LinphoneCore *lc, LinphoneAudioResourceType
|
|||
|
||||
ringstream=lc->ringstream=ring_start(lc->factory, NULL,0,ringcard);
|
||||
ms_filter_call_method(lc->ringstream->gendtmf,MS_DTMF_GEN_SET_DEFAULT_AMPLITUDE,&);
|
||||
lc->dmfs_playing_start_time = ms_get_cur_time_ms()/1000;
|
||||
lc->dmfs_playing_start_time = (time_t)ms_get_cur_time_ms()/1000;
|
||||
}else{
|
||||
ringstream=lc->ringstream;
|
||||
if (lc->dmfs_playing_start_time!=0)
|
||||
lc->dmfs_playing_start_time = ms_get_cur_time_ms()/1000;
|
||||
lc->dmfs_playing_start_time = (time_t)ms_get_cur_time_ms()/1000;
|
||||
}
|
||||
if (rtype==LinphoneToneGenerator) return ringstream->gendtmf;
|
||||
if (rtype==LinphoneLocalPlayer) return ringstream->source;
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ int linphone_ringtoneplayer_ios_start_with_cb(LinphoneRingtonePlayer* rp, const
|
|||
}
|
||||
|
||||
bool_t linphone_ringtoneplayer_ios_is_started(LinphoneRingtonePlayer* rp) {
|
||||
return [rp->player isPlaying];
|
||||
return (bool_t)[rp->player isPlaying];
|
||||
}
|
||||
|
||||
int linphone_ringtoneplayer_ios_stop(LinphoneRingtonePlayer* rp) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue