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

Method Data

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

Source from the content-addressed store, hash-verified

63 int LengthInSamples() const { return mNumSamples; }
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; }

Callers 15

SampleDroppedMethod · 0.80
ProcessMethod · 0.80
DrawModuleMethod · 0.80
SampleDroppedMethod · 0.80
ProcessMethod · 0.80
DoWriteMethod · 0.80
DrawModuleMethod · 0.80
DrawModuleMethod · 0.80
DrawMethod · 0.80
DrawMethod · 0.80
GetPlayProgressMethod · 0.80
ProcessMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected