Skip to content

Commit 580bfc7

Browse files
Merge pull request #285 from yassirbisteni/yassirb/4384673
Fixed copy/paste issues
2 parents aed0629 + 39fa5ac commit 580bfc7

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Project/src/MakeCall/AudioEffects/AudioEffectsContainer.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,8 @@ export default class AudioEffectsContainer extends React.Component {
120120
activeEffects: {
121121
autoGainControl: this.localAudioStreamFeatureApi?.activeEffects?.autoGainControl,
122122
echoCancellation: this.localAudioStreamFeatureApi?.activeEffects?.echoCancellation,
123-
noiseSuppression: this.localAudioStreamFeatureApi?.activeEffects?.noiseSuppression
123+
noiseSuppression: this.localAudioStreamFeatureApi?.activeEffects?.noiseSuppression,
124+
voiceIsolation: this.localAudioStreamFeatureApi?.activeEffects?.voiceIsolation
124125
}
125126
});
126127
}
@@ -584,16 +585,16 @@ export default class AudioEffectsContainer extends React.Component {
584585
<div className='ms-Grid-col ms-sm12 ms-md12 ms-lg12'>
585586
<PrimaryButton
586587
className='secondary-button mt-2'
587-
onClick={() => this.startNs()}
588+
onClick={() => this.startVi()}
588589
>
589-
{this.state.noiseSuppression.startLoading ? <LoadingSpinner /> : 'Start NS'}
590+
{this.state.voiceIsolation.startLoading ? <LoadingSpinner /> : 'Start VI'}
590591
</PrimaryButton>
591592

592593
<PrimaryButton
593594
className='secondary-button mt-2'
594-
onClick={() => this.stopNs()}
595+
onClick={() => this.stopVi()}
595596
>
596-
{this.state.noiseSuppression.stopLoading ? <LoadingSpinner /> : 'Stop NS'}
597+
{this.state.voiceIsolation.stopLoading ? <LoadingSpinner /> : 'Stop VI'}
597598
</PrimaryButton>
598599
</div>
599600
</div>

0 commit comments

Comments
 (0)