WSRequestHandler_Sources: fix comment name for Set/GetAudioTrack

Functions were named SetTracks and GetTracks rather than SetAudioTracks and GetAudioTracks as in the actual code, so this mismatch gets picked up by the protocol docs (but not anymore).
This commit is contained in:
Doménique van Gennip 2021-07-03 21:04:49 +10:00 committed by GitHub
parent d05ff26930
commit c5ef671e0c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -323,7 +323,7 @@ RpcResponse WSRequestHandler::SetVolume(const RpcRequest& request)
* @param {boolean} `active` Whether audio track is active or not.
*
* @api requests
* @name SetTracks
* @name SetAudioTracks
* @category sources
* @since 4.9.1
*/
@ -372,7 +372,7 @@ RpcResponse WSRequestHandler::SetAudioTracks(const RpcRequest& request)
* @return {boolean} `track6`
*
* @api requests
* @name GetTracks
* @name GetAudioTracks
* @category sources
* @since 4.9.1
*/