Skip to content

Commit 4a81448

Browse files
authored
Merge pull request #126825 from changeworld/patch-3
Fix typo: supression -> suppression
2 parents e12d720 + 4355fbd commit 4a81448

File tree

1 file changed

+5
-5
lines changed
  • articles/communication-services/tutorials/audio-quality-enhancements/includes

1 file changed

+5
-5
lines changed

articles/communication-services/tutorials/audio-quality-enhancements/includes/web.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -83,11 +83,11 @@ const currentActiveEffects = audioEffectsFeatureApi.activeEffects;
8383
// Create the noise suppression instance.
8484
const deepNoiseSuppression = new DeepNoiseSuppressionEffect();
8585
// We recommend that you check support for the effect in the current environment by using the isSupported API
86-
// method. Remember that noise supression is only supported on desktop browsers for Chrome and Edge.
86+
// method. Remember that noise suppression is only supported on desktop browsers for Chrome and Edge.
8787

8888
const isDeepNoiseSuppressionSupported = await audioEffectsFeatureApi.isSupported(deepNoiseSuppression);
8989
if (isDeepNoiseSuppressionSupported) {
90-
console.log('Noise supression is supported in local browser environment');
90+
console.log('Noise suppression is supported in local browser environment');
9191
}
9292

9393
// To start Communication Services Deep Noise Suppression
@@ -131,7 +131,7 @@ await call.startCall({
131131
You might start a call and not have noise suppression turned on. The environment might get noisy so that you need to turn on noise suppression. To turn on noise suppression, you can use the `audioEffectsFeatureApi.startEffects` API.
132132

133133
```js
134-
// Create the noise supression instance
134+
// Create the noise suppression instance
135135
const deepNoiseSuppression = new DeepNoiseSuppressionEffect();
136136

137137
// Get LocalAudioStream from the localAudioStream collection on the call object
@@ -141,10 +141,10 @@ const localAudioStreamInCall = call.localAudioStreams[0];
141141
// Get the audio effects feature API from LocalAudioStream
142142
const audioEffectsFeatureApi = localAudioStreamInCall.feature(AzureCommunicationCallingSDK.Features.AudioEffects);
143143

144-
// We recommend that you check support for the effect in the current environment by using the isSupported method on the feature API. Remember that noise supression is only supported on desktop browsers for Chrome and Edge.
144+
// We recommend that you check support for the effect in the current environment by using the isSupported method on the feature API. Remember that noise suppression is only supported on desktop browsers for Chrome and Edge.
145145
const isDeepNoiseSuppressionSupported = await audioEffectsFeatureApi.isSupported(deepNoiseSuppression);
146146
if (isDeepNoiseSuppressionSupported) {
147-
console.log('Noise supression is supported in the current browser environment');
147+
console.log('Noise suppression is supported in the current browser environment');
148148
}
149149

150150
// To start Communication Services Deep Noise Suppression

0 commit comments

Comments
 (0)