MCPcopy Create free account
hub / github.com/BespokeSynth/BespokeSynth / GetPlayPosition

Method GetPlayPosition

Source/Sample.h:66–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 int NumChannels() const { return mData.NumActiveChannels(); }
65 ChannelBuffer* Data() { return &mData; }
66 double GetPlayPosition() const { return mOffset; }
67 void SetPlayPosition(double sample) { mOffset = sample; }
68 float GetSampleRateRatio() const { return mSampleRateRatio; }
69 void Reset() { mOffset = mNumSamples; }

Callers 11

DrawModuleMethod · 0.80
DrawModuleMethod · 0.80
DrawModuleMethod · 0.80
DrawMethod · 0.80
DrawUIControlsMethod · 0.80
DrawMethod · 0.80
DrawModuleMethod · 0.80
DrawModuleMethod · 0.80
ProcessMethod · 0.80
DrawModuleMethod · 0.80
ButtonClickedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected