From e3bf7b0387a9e8f782ff745575dd412e193246de Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Thu, 9 Jul 2015 09:47:40 +0200 Subject: [PATCH] documentation: move some doxygen docs to header --- coreapi/linphonecore.c | 26 ++++++-------------------- coreapi/linphonecore.h | 18 ++++++++++++++++-- 2 files changed, 22 insertions(+), 22 deletions(-) diff --git a/coreapi/linphonecore.c b/coreapi/linphonecore.c index 2e70f820f..5e0ce33a9 100644 --- a/coreapi/linphonecore.c +++ b/coreapi/linphonecore.c @@ -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){ diff --git a/coreapi/linphonecore.h b/coreapi/linphonecore.h index f57b6aad6..e89a03586 100644 --- a/coreapi/linphonecore.h +++ b/coreapi/linphonecore.h @@ -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);