File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -180,6 +180,8 @@ where
180180 ///
181181 /// The `active_channels_mask` parameter has the same meaning as in
182182 /// [process_into_buffer](Resampler::process_into_buffer).
183+ ///
184+ /// Returns the lengths of the original input and the resampled output.
183185 fn process_all_into_buffer < ' a > (
184186 & mut self ,
185187 buffer_in : & dyn Adapter < ' a , T > ,
@@ -251,6 +253,10 @@ where
251253 /// Calculate the minimal length of the output buffer
252254 /// needed to process a clip of length `input_len` using the
253255 /// [process_all_into_buffer](Resampler::process_all_into_buffer) method.
256+ ///
257+ /// Includes additional space needed by the resampler implementation. For
258+ /// the length of resampled output, see the return value of
259+ /// [process_all_into_buffer](Resampler::process_all_into_buffer).
254260 fn process_all_needed_output_len ( & mut self , input_len : usize ) -> usize {
255261 let delay_frames = self . output_delay ( ) ;
256262 let output_frames_next = self . output_frames_next ( ) ;
You can’t perform that action at this time.
0 commit comments