| 32 | struct SampleTiming |
| 33 | { |
| 34 | double sampleAtTime(std::chrono::microseconds time) const |
| 35 | { |
| 36 | using namespace std::chrono; |
| 37 | return duration_cast<duration<double>>(time - mBufferBegin).count() * mSampleRate; |
| 38 | } |
| 39 | |
| 40 | std::chrono::microseconds timeAtSample(const double sample) const |
| 41 | { |
nothing calls this directly
no outgoing calls
no test coverage detected