From c89f06e82aaf6fcd8c303f6ed4e9acee73b93d92 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Sch=C3=BCrmann?= Date: Fri, 3 Jan 2025 23:09:56 +0100 Subject: [PATCH] Improve the comment of getDeckBase() --- src/mixer/playermanager.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mixer/playermanager.h b/src/mixer/playermanager.h index e081f926198..c23f1f5d983 100644 --- a/src/mixer/playermanager.h +++ b/src/mixer/playermanager.h @@ -36,7 +36,8 @@ class PlayerManagerInterface { virtual BaseTrackPlayer* getPlayer(const QString& group) const = 0; virtual BaseTrackPlayer* getPlayer(const ChannelHandle& channelHandle) const = 0; - // Get the deck by its deck index + // Get the deck as BaseTrackPlayer by its deck index + // to allow unit test to return a mocked Deck virtual BaseTrackPlayer* getDeckBase(int deckIndex) const = 0; virtual int numberOfDecks() const = 0;