MCPcopy Create free account
hub / github.com/audacity/audacity / CheckCache

Method CheckCache

libraries/lib-wave-track-paint/waveform/WaveBitmapCache.cpp:347–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void WaveBitmapCache::CheckCache(const ZoomInfo&, double, double)
348{
349 if (mEnvelope != nullptr && mEnvelopeVersion != mEnvelope->GetVersion())
350 {
351 mEnvelopeVersion = mEnvelope->GetVersion();
352 Invalidate();
353 }
354}
355
356bool WaveBitmapCache::InitializeElement(
357 const GraphicsDataCacheKey& key, WaveBitmapCacheElement& element)

Callers

nothing calls this directly

Calls 1

GetVersionMethod · 0.45

Tested by

no test coverage detected