feat: add inverted sources (#4722)
Co-authored-by: elecpower <neilh713@tpg.com.au>
This commit is contained in:
@@ -179,7 +179,7 @@ int getChannelsUsed()
|
||||
bool isSourceAvailable(int source)
|
||||
{
|
||||
if (source < 0)
|
||||
return false;
|
||||
source = -source;
|
||||
|
||||
if (source >= MIXSRC_FIRST_INPUT && source <= MIXSRC_LAST_INPUT) {
|
||||
return isInputAvailable(source - MIXSRC_FIRST_INPUT);
|
||||
|
||||
Reference in New Issue
Block a user