Throw error instead of selecting master output.
This commit is contained in:
parent
329b25a849
commit
f3ae3fdb19
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ export function Player({ id }: { id: number }) {
|
||||||
case 2:
|
case 2:
|
||||||
return "player-2";
|
return "player-2";
|
||||||
default:
|
default:
|
||||||
return "master";
|
throw new Error("Unknown Player VUMeter source: " + id);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
|
|
Loading…
Reference in a new issue