mirror of
https://github.com/w-okada/voice-changer.git
synced 2025-01-23 13:35:12 +03:00
auido filter
This commit is contained in:
parent
42d40a79bd
commit
46a5bf7f77
2
client/demo/dist/index.js
vendored
2
client/demo/dist/index.js
vendored
File diff suppressed because one or more lines are too long
@ -108,7 +108,12 @@ export const AudioOutputRow = (_props: AudioOutputRowProps) => {
|
||||
const hostAPIs = new Set(devices.map(x => { return x.hostAPI }))
|
||||
const hostAPIOptions = Array.from(hostAPIs).map((x, index) => { return <option value={x} key={index} >{x}</option> })
|
||||
|
||||
const filteredDevice = devices.filter(x => { return x.hostAPI == hostApi || hostApi == "" }).map((x, index) => { return <option value={x.index} key={index}>{x.name}</option> })
|
||||
// const filteredDevice = devices.filter(x => { return x.hostAPI == hostApi || hostApi == "" }).map((x, index) => { return <option value={x.index} key={index}>{x.name}</option> })
|
||||
const filteredDevice = devices.map((x, index) => {
|
||||
const className = (x.hostAPI == hostApi || hostApi == "") ? "select-option-red" : ""
|
||||
return <option className={className} value={x.index} key={index}>{x.name}</option>
|
||||
|
||||
})
|
||||
|
||||
return (
|
||||
<div className="body-row split-3-7 left-padding-1 guided">
|
||||
|
@ -636,6 +636,10 @@ body {
|
||||
max-width: 50%;
|
||||
height: 1.5rem;
|
||||
}
|
||||
.select-option-red {
|
||||
color: #f66;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.body-image-container,
|
||||
.body-wav-container {
|
||||
|
Loading…
Reference in New Issue
Block a user