Make Mic VU meter follow stereo metering.

This commit is contained in:
Matthew Stratford 2020-11-02 19:21:23 +00:00
parent 335e4f8eb0
commit febc96cedc
No known key found for this signature in database
GPG key ID: 9E53C8B3F0B57395

View file

@ -194,6 +194,9 @@ function LibraryColumn() {
function MicControl() {
const state = useSelector((state: RootState) => state.mixer.mic);
const proMode = useSelector((state: RootState) => state.settings.proMode);
const stereo = useSelector(
(state: RootState) => state.settings.channelVUsStereo
);
const dispatch = useDispatch();
return (
@ -249,7 +252,7 @@ function MicControl() {
source="mic-final"
range={[-40, 3]}
greenRange={[-16, -6]}
stereo={proMode}
stereo={proMode && stereo}
/>
</div>
<div className={`mixer-buttons ${!state.open && "disabled"}`}>