// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the Microsoft Software License Terms for the Azure Communications Services, Azure CPaaS, MICROSOFT AZURE COMMUNICATION CALLING EFFECTS
// See LICENSE file for license information.

import{AudioEffectInternalBase as e}from"./84d148.js";import{LoggerImpl as t}from"./de977d.js";import{createClientLogger as n}from"@azure/logger";var __awaiter=function(e,t,n,s){function adopt(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,i){function fulfilled(e){try{step(s.next(e))}catch(e){i(e)}}function rejected(e){try{step(s.throw(e))}catch(e){i(e)}}function step(e){e.done?n(e.value):adopt(e.value).then(fulfilled,rejected)}step((s=s.apply(e,t||[])).next())}))};class DeepNoiseSuppressionEffectInternalImpl extends e{constructor(e,t){super(e,t)}getEffectProvider(){return __awaiter(this,void 0,void 0,(function*(){return this.wasmvqeProvider}))}}let s=0;class DeepNoiseSuppressionEffect{constructor(){this.name="DeepNoiseSuppression",this._logger=new t(n("ACS-calling-audio-effects"),[()=>"DeepNoiseSuppressionEffect"+s++]),this._deepNoiseSuppressionInternal=new DeepNoiseSuppressionEffectInternalImpl(this.name,this._logger),this._logger.info(`v${this._deepNoiseSuppressionInternal.getVersion()} DeepNoiseSuppressionEffect ctor success`)}get _internalHandle(){return this._deepNoiseSuppressionInternal}isSupported(){return __awaiter(this,void 0,void 0,(function*(){return yield this._deepNoiseSuppressionInternal.capabilityChecker.audioEffectsSupported()}))}}export{DeepNoiseSuppressionEffect};
