Make Mic VU meter follow stereo metering.
This commit is contained in:
parent
335e4f8eb0
commit
febc96cedc
1 changed files with 4 additions and 1 deletions
|
@ -194,6 +194,9 @@ function LibraryColumn() {
|
||||||
function MicControl() {
|
function MicControl() {
|
||||||
const state = useSelector((state: RootState) => state.mixer.mic);
|
const state = useSelector((state: RootState) => state.mixer.mic);
|
||||||
const proMode = useSelector((state: RootState) => state.settings.proMode);
|
const proMode = useSelector((state: RootState) => state.settings.proMode);
|
||||||
|
const stereo = useSelector(
|
||||||
|
(state: RootState) => state.settings.channelVUsStereo
|
||||||
|
);
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
@ -249,7 +252,7 @@ function MicControl() {
|
||||||
source="mic-final"
|
source="mic-final"
|
||||||
range={[-40, 3]}
|
range={[-40, 3]}
|
||||||
greenRange={[-16, -6]}
|
greenRange={[-16, -6]}
|
||||||
stereo={proMode}
|
stereo={proMode && stereo}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div className={`mixer-buttons ${!state.open && "disabled"}`}>
|
<div className={`mixer-buttons ${!state.open && "disabled"}`}>
|
||||||
|
|
Loading…
Reference in a new issue