mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 03:36:32 +01:00
temporal: add TempoMapCutBuffer::empty()
This commit is contained in:
parent
797c362500
commit
2e08ff01f5
1 changed files with 4 additions and 0 deletions
|
|
@ -1234,6 +1234,10 @@ class LIBTEMPORAL_API TempoMapCutBuffer
|
||||||
MusicTimes const & bartimes() const { return _bartimes; }
|
MusicTimes const & bartimes() const { return _bartimes; }
|
||||||
Points const & points() const { return _points; }
|
Points const & points() const { return _points; }
|
||||||
|
|
||||||
|
bool empty() const {
|
||||||
|
return _tempos.empty() && _meters.empty() && _bartimes.empty() && _points.empty();
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Tempo* _start_tempo;
|
Tempo* _start_tempo;
|
||||||
Tempo* _end_tempo;
|
Tempo* _end_tempo;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue