Add API to clear waveform cache

This commit is contained in:
Robin Gareus
2020-12-21 21:12:53 +01:00
parent acbccc1feb
commit b8e336b973
2 changed files with 7 additions and 0 deletions

View File

@@ -1324,6 +1324,12 @@ WaveView::set_global_logscaled (bool yn)
}
}
void
WaveView::clear_cache ()
{
WaveViewCache::get_instance()->clear_cache ();
}
samplecnt_t
WaveView::region_length() const
{