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

Method LockDataMutex

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

Source from the content-addressed store, hash-verified

77 static bool WriteDataToFile(const std::string& path, ChannelBuffer* data, int numSamples);
78 bool IsPlaying() const { return mOffset < mNumSamples; }
79 void LockDataMutex(bool lock) { lock ? mDataMutex.lock() : mDataMutex.unlock(); }
80 void Create(int length);
81 void Create(ChannelBuffer* data);
82 void SetLooping(bool looping) { mLooping = looping; }

Callers 4

DrawModuleMethod · 0.80
DrawModuleMethod · 0.80
DrawMethod · 0.80
DrawModuleMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected