隐藏自动调整麦克风
This commit is contained in:
parent
9e6a862d49
commit
c7189dd63e
|
|
@ -731,7 +731,7 @@ const AudioComponents = () => {
|
|||
})
|
||||
}} disabled={!audioDeviceManager.ecordingItem} />
|
||||
</div>
|
||||
<div style={{ marginBottom: '10px' }}>
|
||||
{/* <div style={{ marginBottom: '10px' }}>
|
||||
<Checkbox onChange={async (e) => {
|
||||
setting.autoEcordingVolume = e.target.checked;
|
||||
storage.setItem('setting', JSON.stringify(setting))
|
||||
|
|
@ -740,7 +740,7 @@ const AudioComponents = () => {
|
|||
autoEcordingVolume: e.target.checked
|
||||
})
|
||||
}} checked={audioDeviceManager.autoEcordingVolume}>自动调整麦克风音量</Checkbox>
|
||||
</div>
|
||||
</div> */}
|
||||
<div>
|
||||
<div>
|
||||
<Checkbox checked={audioDeviceManager.isAINoiseReduction} onChange={(e) => {
|
||||
|
|
|
|||
|
|
@ -1427,11 +1427,11 @@ const Meeting: React.FC = () => {
|
|||
const percentage = (item.volume / 255) * 100
|
||||
if (domMe) {
|
||||
domMe.style.height = `${percentage}%`
|
||||
if (item.volume > 180) {
|
||||
agora.adjustRecordingSignalVolume(60)
|
||||
} else {
|
||||
agora.adjustRecordingSignalVolume(100)
|
||||
}
|
||||
// if (item.volume > 180) {
|
||||
// agora.adjustRecordingSignalVolume(60)
|
||||
// } else {
|
||||
// agora.adjustRecordingSignalVolume(100)
|
||||
// }
|
||||
}
|
||||
window.electron.windowHandleMessage({
|
||||
key: 'shareScreenWindow',
|
||||
|
|
|
|||
Loading…
Reference in New Issue