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

Method SetPlayPosition

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

Source from the content-addressed store, hash-verified

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; }
70 void SetStopPoint(int stopPoint) { mStopPoint = stopPoint; }

Callers 12

SetPlaybackInfoMethod · 0.80
RecalcPosMethod · 0.80
RecalcPosMethod · 0.80
ProcessMethod · 0.80
PlayCuePointMethod · 0.80
UpdateSampleMethod · 0.80
ButtonClickedMethod · 0.80
DownloadYoutubeMethod · 0.80
OnClickedMethod · 0.80
MouseMovedMethod · 0.80
LoadSongMethod · 0.80
ButtonClickedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected