@@ -259,69 +259,69 @@ iai::main!(
259259
260260#[ cfg( not( feature = "iai" ) ) ]
261261fn criterion_ctor ( c : & mut Criterion ) {
262- c. bench_function ( "bench_ctor" , |b| b. iter ( || bench_ctor ( ) ) ) ;
262+ c. bench_function ( "bench_ctor" , |b| b. iter ( bench_ctor) ) ;
263263}
264264#[ cfg( not( feature = "iai" ) ) ]
265265fn criterion_audio_buffer_decode ( c : & mut Criterion ) {
266266 c. bench_function ( "bench_audio_buffer_decode" , |b| {
267- b. iter ( || bench_audio_buffer_decode ( ) )
267+ b. iter ( bench_audio_buffer_decode)
268268 } ) ;
269269}
270270#[ cfg( not( feature = "iai" ) ) ]
271271fn criterion_sine ( c : & mut Criterion ) {
272- c. bench_function ( "bench_sine" , |b| b. iter ( || bench_sine ( ) ) ) ;
272+ c. bench_function ( "bench_sine" , |b| b. iter ( bench_sine) ) ;
273273}
274274#[ cfg( not( feature = "iai" ) ) ]
275275fn criterion_sine_gain ( c : & mut Criterion ) {
276- c. bench_function ( "bench_sine_gain" , |b| b. iter ( || bench_sine_gain ( ) ) ) ;
276+ c. bench_function ( "bench_sine_gain" , |b| b. iter ( bench_sine_gain) ) ;
277277}
278278#[ cfg( not( feature = "iai" ) ) ]
279279fn criterion_sine_gain_delay ( c : & mut Criterion ) {
280280 c. bench_function ( "bench_sine_gain_delay" , |b| {
281- b. iter ( || bench_sine_gain_delay ( ) )
281+ b. iter ( bench_sine_gain_delay)
282282 } ) ;
283283}
284284#[ cfg( not( feature = "iai" ) ) ]
285285fn criterion_buffer_src ( c : & mut Criterion ) {
286- c. bench_function ( "bench_buffer_src" , |b| b. iter ( || bench_buffer_src ( ) ) ) ;
286+ c. bench_function ( "bench_buffer_src" , |b| b. iter ( bench_buffer_src) ) ;
287287}
288288#[ cfg( not( feature = "iai" ) ) ]
289289fn criterion_buffer_src_delay ( c : & mut Criterion ) {
290290 c. bench_function ( "bench_buffer_src_delay" , |b| {
291- b. iter ( || bench_buffer_src_delay ( ) )
291+ b. iter ( bench_buffer_src_delay)
292292 } ) ;
293293}
294294#[ cfg( not( feature = "iai" ) ) ]
295295fn criterion_buffer_src_iir ( c : & mut Criterion ) {
296296 c. bench_function ( "bench_buffer_src_iir" , |b| {
297- b. iter ( || bench_buffer_src_iir ( ) )
297+ b. iter ( bench_buffer_src_iir)
298298 } ) ;
299299}
300300#[ cfg( not( feature = "iai" ) ) ]
301301fn criterion_buffer_src_biquad ( c : & mut Criterion ) {
302302 c. bench_function ( "bench_buffer_src_biquad" , |b| {
303- b. iter ( || bench_buffer_src_biquad ( ) )
303+ b. iter ( bench_buffer_src_biquad)
304304 } ) ;
305305}
306306#[ cfg( not( feature = "iai" ) ) ]
307307fn criterion_stereo_positional ( c : & mut Criterion ) {
308308 c. bench_function ( "bench_stereo_positional" , |b| {
309- b. iter ( || bench_stereo_positional ( ) )
309+ b. iter ( bench_stereo_positional)
310310 } ) ;
311311}
312312#[ cfg( not( feature = "iai" ) ) ]
313313fn criterion_stereo_panning_automation ( c : & mut Criterion ) {
314314 c. bench_function ( "bench_stereo_panning_automation" , |b| {
315- b. iter ( || bench_stereo_panning_automation ( ) )
315+ b. iter ( bench_stereo_panning_automation)
316316 } ) ;
317317}
318318#[ cfg( not( feature = "iai" ) ) ]
319319fn criterion_analyser_node ( c : & mut Criterion ) {
320- c. bench_function ( "bench_analyser_node" , |b| b. iter ( || bench_analyser_node ( ) ) ) ;
320+ c. bench_function ( "bench_analyser_node" , |b| b. iter ( bench_analyser_node) ) ;
321321}
322322#[ cfg( not( feature = "iai" ) ) ]
323323fn criterion_hrtf_panners ( c : & mut Criterion ) {
324- c. bench_function ( "bench_hrtf_panners" , |b| b. iter ( || bench_hrtf_panners ( ) ) ) ;
324+ c. bench_function ( "bench_hrtf_panners" , |b| b. iter ( bench_hrtf_panners) ) ;
325325}
326326
327327#[ cfg( not( feature = "iai" ) ) ]
0 commit comments