mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Add API to clear waveform cache
This commit is contained in:
parent
acbccc1feb
commit
b8e336b973
2 changed files with 7 additions and 0 deletions
|
|
@ -1324,6 +1324,12 @@ WaveView::set_global_logscaled (bool yn)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
WaveView::clear_cache ()
|
||||||
|
{
|
||||||
|
WaveViewCache::get_instance()->clear_cache ();
|
||||||
|
}
|
||||||
|
|
||||||
samplecnt_t
|
samplecnt_t
|
||||||
WaveView::region_length() const
|
WaveView::region_length() const
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -125,6 +125,7 @@ public:
|
||||||
static void set_global_logscaled (bool);
|
static void set_global_logscaled (bool);
|
||||||
static void set_global_shape (Shape);
|
static void set_global_shape (Shape);
|
||||||
static void set_global_show_waveform_clipping (bool);
|
static void set_global_show_waveform_clipping (bool);
|
||||||
|
static void clear_cache ();
|
||||||
|
|
||||||
static double global_gradient_depth () { return _global_gradient_depth; }
|
static double global_gradient_depth () { return _global_gradient_depth; }
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue