Add API to clear waveform cache
This commit is contained in:
parent
acbccc1feb
commit
b8e336b973
@ -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
|
||||
{
|
||||
|
@ -125,6 +125,7 @@ public:
|
||||
static void set_global_logscaled (bool);
|
||||
static void set_global_shape (Shape);
|
||||
static void set_global_show_waveform_clipping (bool);
|
||||
static void clear_cache ();
|
||||
|
||||
static double global_gradient_depth () { return _global_gradient_depth; }
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user