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

Method SetRate

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

Source from the content-addressed store, hash-verified

58 bool ConsumeData(double time, ChannelBuffer* out, int size, bool replace);
59 void Play(double time, float rate, int offset, int stopPoint = -1);
60 void SetRate(float rate) { mRate = rate; }
61 std::string Name() const { return mName; }
62 void SetName(std::string name) { mName = name; }
63 int LengthInSamples() const { return mNumSamples; }

Callers 6

SetPlaybackInfoMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
UpdateSampleMethod · 0.45
ProcessMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected