mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-14 18:46:34 +01:00
remove Evoral::RingBuffer, which was (a) duplicating PBD::RingBufferNPT and (b) broken; replace it with PBD::RingBufferNPT
git-svn-id: svn://localhost/ardour2/branches/3.0@9212 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e25bff1a34
commit
ea9979b4b9
9 changed files with 95 additions and 307 deletions
|
|
@ -241,7 +241,7 @@ SMFSource::write_unlocked (MidiRingBuffer<framepos_t>& source, framepos_t positi
|
|||
Evoral::MIDIEvent<framepos_t> ev;
|
||||
|
||||
while (true) {
|
||||
bool ret = source.peek_time(&time);
|
||||
bool ret = source.peek ((uint8_t*)&time, sizeof (time));
|
||||
if (!ret || time > _last_write_end + duration) {
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue