From c5ef671e0c1353c0894c792ce463ac5e4faa143a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dom=C3=A9nique=20van=20Gennip?= Date: Sat, 3 Jul 2021 21:04:49 +1000 Subject: [PATCH] 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). --- src/WSRequestHandler_Sources.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/WSRequestHandler_Sources.cpp b/src/WSRequestHandler_Sources.cpp index c60838f7..2336061a 100644 --- a/src/WSRequestHandler_Sources.cpp +++ b/src/WSRequestHandler_Sources.cpp @@ -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 */