@@ -112,7 +112,7 @@ public async Task GetByteTimeDomainDataAsync(Uint8Array array)
112112 /// <returns>Sample frames size.</returns>
113113 public async Task < ulong > GetFftSizeAsync ( )
114114 {
115- IJSObjectReference helper = await helperTask . Value ;
115+ IJSObjectReference helper = await webAudioHelperTask . Value ;
116116 return await helper . InvokeAsync < ulong > ( "getAttribute" , JSReference , "fftSize" ) ;
117117 }
118118
@@ -128,7 +128,7 @@ public async Task<ulong> GetFftSizeAsync()
128128 /// <exception cref="IndexSizeErrorException"></exception>
129129 public async Task SetFftSizeAsync ( ulong value )
130130 {
131- IJSObjectReference helper = await helperTask . Value ;
131+ IJSObjectReference helper = await webAudioHelperTask . Value ;
132132 await helper . InvokeVoidAsync ( "setAttribute" , JSReference , "fftSize" , value ) ;
133133 }
134134
@@ -137,7 +137,7 @@ public async Task SetFftSizeAsync(ulong value)
137137 /// </summary>
138138 public async Task < ulong > GetFrequencyBinCountAsync ( )
139139 {
140- IJSObjectReference helper = await helperTask . Value ;
140+ IJSObjectReference helper = await webAudioHelperTask . Value ;
141141 return await helper . InvokeAsync < ulong > ( "getAttribute" , JSReference , "frequencyBinCount" ) ;
142142 }
143143
@@ -146,7 +146,7 @@ public async Task<ulong> GetFrequencyBinCountAsync()
146146 /// </summary>
147147 public async Task < double > GetMaxDecibelsAsync ( )
148148 {
149- IJSObjectReference helper = await helperTask . Value ;
149+ IJSObjectReference helper = await webAudioHelperTask . Value ;
150150 return await helper . InvokeAsync < double > ( "getAttribute" , JSReference , "maxDecibels" ) ;
151151 }
152152
@@ -160,7 +160,7 @@ public async Task<double> GetMaxDecibelsAsync()
160160 /// <exception cref="IndexSizeErrorException"></exception>
161161 public async Task SetMaxDecibelsAsync ( double value )
162162 {
163- IJSObjectReference helper = await helperTask . Value ;
163+ IJSObjectReference helper = await webAudioHelperTask . Value ;
164164 await helper . InvokeVoidAsync ( "setAttribute" , JSReference , "maxDecibels" , value ) ;
165165 }
166166
@@ -169,7 +169,7 @@ public async Task SetMaxDecibelsAsync(double value)
169169 /// </summary>
170170 public async Task < double > GetMinDecibelsAsync ( )
171171 {
172- IJSObjectReference helper = await helperTask . Value ;
172+ IJSObjectReference helper = await webAudioHelperTask . Value ;
173173 return await helper . InvokeAsync < double > ( "getAttribute" , JSReference , "minDecibels" ) ;
174174 }
175175
@@ -183,7 +183,7 @@ public async Task<double> GetMinDecibelsAsync()
183183 /// <exception cref="IndexSizeErrorException"></exception>
184184 public async Task SetMinDecibelsAsync ( double value )
185185 {
186- IJSObjectReference helper = await helperTask . Value ;
186+ IJSObjectReference helper = await webAudioHelperTask . Value ;
187187 await helper . InvokeVoidAsync ( "setAttribute" , JSReference , "minDecibels" , value ) ;
188188 }
189189
@@ -192,7 +192,7 @@ public async Task SetMinDecibelsAsync(double value)
192192 /// </summary>
193193 public async Task < double > GetSmoothingTimeConstantAsync ( )
194194 {
195- IJSObjectReference helper = await helperTask . Value ;
195+ IJSObjectReference helper = await webAudioHelperTask . Value ;
196196 return await helper . InvokeAsync < double > ( "getAttribute" , JSReference , "smoothingTimeConstant" ) ;
197197 }
198198
@@ -206,7 +206,7 @@ public async Task<double> GetSmoothingTimeConstantAsync()
206206 /// <exception cref="IndexSizeErrorException"></exception>
207207 public async Task SetSmoothingTimeConstantAsync ( double value )
208208 {
209- IJSObjectReference helper = await helperTask . Value ;
209+ IJSObjectReference helper = await webAudioHelperTask . Value ;
210210 await helper . InvokeVoidAsync ( "setAttribute" , JSReference , "smoothingTimeConstant" , value ) ;
211211 }
212212}
0 commit comments