Mercurial > hg > svapp
comparison audio/AudioCallbackPlaySource.cpp @ 745:1c6c10cc5f73 audio-source-refactor
Update comment
author | Chris Cannam |
---|---|
date | Fri, 03 Apr 2020 12:13:04 +0100 |
parents | 6508d9d216c7 |
children | 771ec060c1d2 |
comparison
equal
deleted
inserted
replaced
741:6508d9d216c7 | 745:1c6c10cc5f73 |
---|---|
685 | 685 |
686 sv_frame_t | 686 sv_frame_t |
687 AudioCallbackPlaySource::getCurrentFrame(RealTime latency_t) | 687 AudioCallbackPlaySource::getCurrentFrame(RealTime latency_t) |
688 { | 688 { |
689 // The ring buffers contain data at the source sample rate and all | 689 // The ring buffers contain data at the source sample rate and all |
690 // processing (including time stretching) happens at this | 690 // processing here happens at this rate. Resampling only happens |
691 // rate. Resampling only happens after the audio data leaves this | 691 // after the audio data leaves this class. |
692 // class. | |
693 | 692 |
694 // (But because historically more than one sample rate could have | 693 // (But because historically more than one sample rate could have |
695 // been involved here, we do latency calculations using RealTime | 694 // been involved here, we do latency calculations using RealTime |
696 // values instead of samples.) | 695 // values instead of samples.) |
697 | 696 |