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

Method NumChannels

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

Source from the content-addressed store, hash-verified

62 void SetName(std::string name) { mName = name; }
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; }

Callers 13

SetRecorderMethod · 0.45
ProcessMethod · 0.45
SampleDroppedMethod · 0.45
DrawModuleMethod · 0.45
ProcessMethod · 0.45
ProcessMethod · 0.45
GrabSampleMethod · 0.45
ProcessMethod · 0.45
ButtonClickedMethod · 0.45
ProcessMethod · 0.45
RenderMethod · 0.45
DrawLissajousFunction · 0.45

Calls 1

NumActiveChannelsMethod · 0.80

Tested by

no test coverage detected