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

Method Setup

Source/Sample.cpp:143–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143void Sample::Setup(int length)
144{
145 mNumSamples = length;
146 mRate = 1;
147 mOffset = length;
148 mOriginalSampleRate = gSampleRate;
149 mSampleRateRatio = 1;
150 mStopPoint = -1;
151 mName = "newsample";
152 mReadPath = "";
153}
154
155bool Sample::Write(const char* path /*=nullptr*/)
156{

Callers 2

PSMoveControllerMethod · 0.45
initialiseMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected