diff options
Diffstat (limited to 'libs/audiographer/audiographer/general/sr_converter.h')
-rw-r--r-- | libs/audiographer/audiographer/general/sr_converter.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libs/audiographer/audiographer/general/sr_converter.h b/libs/audiographer/audiographer/general/sr_converter.h index 0cbe3bd294..a2e94d9bc0 100644 --- a/libs/audiographer/audiographer/general/sr_converter.h +++ b/libs/audiographer/audiographer/general/sr_converter.h @@ -27,10 +27,10 @@ class LIBAUDIOGRAPHER_API SampleRateConverter /// Init converter \n Not RT safe void init (framecnt_t in_rate, framecnt_t out_rate, int quality = 0); - + /// Returns max amount of frames that will be output \n RT safe framecnt_t allocate_buffers (framecnt_t max_frames); - + /** Does sample rate conversion. * Note that outpt size may vary a lot. * May or may not output several contexts of data. @@ -48,7 +48,7 @@ class LIBAUDIOGRAPHER_API SampleRateConverter bool active; uint32_t channels; framecnt_t max_frames_in; - + float * leftover_data; framecnt_t leftover_frames; framecnt_t max_leftover_frames; |