This commit is contained in:
Bertrand Songis
2017-03-26 20:40:13 +02:00
parent 29018fae9c
commit 6c28efdd4f
+3
View File
@@ -131,6 +131,9 @@ int getChannelsUsed()
bool isSourceAvailable(int source)
{
if (source < 0)
return false;
if (source>=MIXSRC_FIRST_INPUT && source<=MIXSRC_LAST_INPUT) {
return isInputAvailable(source - MIXSRC_FIRST_INPUT);
}