documentation: move some doxygen docs to header

This commit is contained in:
Gautier Pelloux-Prayer 2015-07-09 09:47:40 +02:00
parent cb7f639240
commit e3bf7b0387
2 changed files with 22 additions and 22 deletions

View file

@ -1929,30 +1929,16 @@ static void apply_jitter_value(LinphoneCore *lc, int value, MSFormatType stype){
}
}
/**
* Sets the nominal audio jitter buffer size in milliseconds.
* The value takes effect immediately for all running and pending calls, if any.
* A value of 0 disables the jitter buffer.
*
* @ingroup media_parameters
**/
void linphone_core_set_audio_jittcomp(LinphoneCore *lc, int value)
void linphone_core_set_audio_jittcomp(LinphoneCore *lc, int milliseconds)
{
lc->rtp_conf.audio_jitt_comp=value;
apply_jitter_value(lc, value, MSAudio);
lc->rtp_conf.audio_jitt_comp=milliseconds;
apply_jitter_value(lc, milliseconds, MSAudio);
}
/**
* Sets the nominal video jitter buffer size in milliseconds.
* The value takes effect immediately for all running and pending calls, if any.
* A value of 0 disables the jitter buffer.
*
* @ingroup media_parameters
**/
void linphone_core_set_video_jittcomp(LinphoneCore *lc, int value)
void linphone_core_set_video_jittcomp(LinphoneCore *lc, int milliseconds)
{
lc->rtp_conf.video_jitt_comp=value;
apply_jitter_value(lc, value, MSVideo);
lc->rtp_conf.video_jitt_comp=milliseconds;
apply_jitter_value(lc, milliseconds, MSVideo);
}
void linphone_core_set_rtp_no_xmit_on_audio_mute(LinphoneCore *lc,bool_t rtp_no_xmit_on_audio_mute){

View file

@ -2989,7 +2989,14 @@ LINPHONE_PUBLIC bool_t linphone_core_audio_adaptive_jittcomp_enabled(LinphoneCor
LINPHONE_PUBLIC int linphone_core_get_audio_jittcomp(LinphoneCore *lc);
LINPHONE_PUBLIC void linphone_core_set_audio_jittcomp(LinphoneCore *lc, int value);
/**
* Sets the nominal audio jitter buffer size in milliseconds.
* The value takes effect immediately for all running and pending calls, if any.
* A value of 0 disables the jitter buffer.
*
* @ingroup media_parameters
**/
LINPHONE_PUBLIC void linphone_core_set_audio_jittcomp(LinphoneCore *lc, int milliseconds);
/**
* Enable or disable the video adaptive jitter compensation.
@ -3009,7 +3016,14 @@ LINPHONE_PUBLIC bool_t linphone_core_video_adaptive_jittcomp_enabled(LinphoneCor
LINPHONE_PUBLIC int linphone_core_get_video_jittcomp(LinphoneCore *lc);
LINPHONE_PUBLIC void linphone_core_set_video_jittcomp(LinphoneCore *lc, int value);
/**
* Sets the nominal video jitter buffer size in milliseconds.
* The value takes effect immediately for all running and pending calls, if any.
* A value of 0 disables the jitter buffer.
*
* @ingroup media_parameters
**/
LINPHONE_PUBLIC void linphone_core_set_video_jittcomp(LinphoneCore *lc, int milliseconds);
LINPHONE_PUBLIC int linphone_core_get_audio_port(const LinphoneCore *lc);