doing it better
This commit is contained in:
parent
f39a9d2232
commit
d3a80134fb
1 changed files with 11 additions and 0 deletions
|
@ -291,7 +291,18 @@ function LibraryColumn() {
|
||||||
|
|
||||||
function MicControl() {
|
function MicControl() {
|
||||||
const state = useSelector((state: RootState) => state.mixer.mic);
|
const state = useSelector((state: RootState) => state.mixer.mic);
|
||||||
|
const [gotMicList, setGotMicList] = useState(false);
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
||||||
|
if (gotMicList == false){
|
||||||
|
console.log(navigator.mediaDevices.enumerateDevices())
|
||||||
|
setGotMicList(true)
|
||||||
|
}
|
||||||
|
|
||||||
|
function reduceToInputs(){
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="sp-col" style={{ height: "48%", overflowY: "visible" }}>
|
<div className="sp-col" style={{ height: "48%", overflowY: "visible" }}>
|
||||||
<h2>Microphone</h2>
|
<h2>Microphone</h2>
|
||||||
|
|
Loading…
Reference in a new issue