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

Method IsSamplePlaying

Source/SampleBrowser.cpp:100–103  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100bool SampleBrowser::IsSamplePlaying(int index) const
101{
102 return mPlayingSample.IsPlaying() && mButtons[index]->IsShowing() && mDirectoryListing[index] == juce::String(mPlayingSample.GetReadPath());
103}
104
105void SampleBrowser::ButtonClicked(ClickButton* button, double time)
106{

Callers

nothing calls this directly

Calls 4

StringClass · 0.85
IsPlayingMethod · 0.80
IsShowingMethod · 0.80
GetReadPathMethod · 0.80

Tested by

no test coverage detected