File tree 1 file changed +5
-5
lines changed 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -447,9 +447,9 @@ impl<'ctx> PulseStream<'ctx> {
447
447
latency_frames * stm. output_sample_spec . frame_size ( ) as u32 ;
448
448
449
449
let battr = pa_buffer_attr {
450
- maxlength : u32:: max_value ( ) ,
451
- prebuf : u32:: max_value ( ) ,
452
- fragsize : u32:: max_value ( ) ,
450
+ maxlength : u32:: MAX ,
451
+ prebuf : u32:: MAX ,
452
+ fragsize : u32:: MAX ,
453
453
tlength : buffer_size_bytes * 2 ,
454
454
minreq : buffer_size_bytes / 4 ,
455
455
} ;
@@ -490,8 +490,8 @@ impl<'ctx> PulseStream<'ctx> {
490
490
let buffer_size_bytes =
491
491
latency_frames * stm. input_sample_spec . frame_size ( ) as u32 ;
492
492
let battr = pa_buffer_attr {
493
- maxlength : u32:: max_value ( ) ,
494
- prebuf : u32:: max_value ( ) ,
493
+ maxlength : u32:: MAX ,
494
+ prebuf : u32:: MAX ,
495
495
fragsize : buffer_size_bytes,
496
496
tlength : buffer_size_bytes,
497
497
minreq : buffer_size_bytes,
You can’t perform that action at this time.
0 commit comments