Skip to content

Commit

Permalink
Use 'const' when setting JifferConfig-struct
Browse files Browse the repository at this point in the history
  • Loading branch information
bear101 committed Feb 23, 2021
1 parent c841d69 commit bb4e190
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Library/TeamTalkLib/bin/dll/TeamTalk.cpp
Expand Up @@ -2000,7 +2000,7 @@ TEAMTALKDLL_API TTBOOL TT_SetUserStoppedPlaybackDelay(IN TTInstance* lpTTInstanc
TEAMTALKDLL_API TTBOOL TT_SetUserJitterControl(IN TTInstance* lpTTInstance,
IN INT32 nUserID,
IN StreamType nStreamType,
IN JitterConfig* lpJitterConfig)
IN const JitterConfig* lpJitterConfig)
{
clientnode_t clientnode;
GET_CLIENTNODE_RET(clientnode, lpTTInstance, FALSE);
Expand Down
2 changes: 1 addition & 1 deletion Library/TeamTalk_DLL/TeamTalk.h
Expand Up @@ -6993,7 +6993,7 @@ extern "C" {
TEAMTALKDLL_API TTBOOL TT_SetUserJitterControl(IN TTInstance* lpTTInstance,
IN INT32 nUserID,
IN StreamType nStreamType,
IN JitterConfig* lpJitterConfig);
IN const JitterConfig* lpJitterConfig);

/**
* @brief Get the de-jitter configuration for a user.
Expand Down

0 comments on commit bb4e190

Please sign in to comment.