diff --git a/src/include/g711.h b/src/include/g711.h index 78099cd1c8..d70db8330d 100644 --- a/src/include/g711.h +++ b/src/include/g711.h @@ -369,7 +369,7 @@ static __inline__ int16_t alaw_to_linear(uint8_t alaw) uint8_t alaw_to_ulaw(uint8_t alaw); /*! \brief Transcode from u-law to A-law, using the procedure defined in G.711. - \param alaw The u-law sample to transcode. + \param ulaw The u-law sample to transcode. \return The best matching A-law value. */ uint8_t ulaw_to_alaw(uint8_t ulaw); diff --git a/src/include/switch_core.h b/src/include/switch_core.h index 6c794e873f..6911e75f94 100644 --- a/src/include/switch_core.h +++ b/src/include/switch_core.h @@ -728,7 +728,7 @@ SWITCH_DECLARE(void) switch_core_service_session(_In_ switch_core_session_t *ses \param caller_profile the originator's caller profile \param new_session a NULL pointer to aim at the newly created session \param pool optional existing memory pool to donate to the session - \paeam flags flags to use + \param flags flags to use \return the cause code of the attempted call */ SWITCH_DECLARE(switch_call_cause_t) switch_core_session_outgoing_channel(_In_opt_ switch_core_session_t *session, @@ -1498,13 +1498,14 @@ SWITCH_DECLARE(int32_t) set_high_priority(void); /*! \brief Change user and/or group of the running process - \long Several possible combinations: - - user only (group NULL): switch to user and his primary group (and supplementary groups, if supported) - - user and group: switch to user and specified group (only) - - group only (user NULL): switch group only \param user name of the user to switch to (or NULL) \param group name of the group to switch to (or NULL) \return 0 on success, -1 otherwise + + Several possible combinations: + - user only (group NULL): switch to user and his primary group (and supplementary groups, if supported) + - user and group: switch to user and specified group (only) + - group only (user NULL): switch group only */ SWITCH_DECLARE(int32_t) change_user_group(const char *user, const char *group);