introduce new all-in-RAM MIDI datastructure and use it for MIDI playback

This commit is contained in:
Paul Davis 2019-10-14 19:00:32 -06:00
parent cc949232fe
commit 22da779322
13 changed files with 426 additions and 256 deletions

View file

@ -34,6 +34,7 @@
#include "pbd/file_utils.h"
#include "pbd/stl_delete.h"
#include "pbd/strsplit.h"
#include "pbd/timing.h"
#include "pbd/gstdio_compat.h"
#include <glibmm/miscutils.h>
@ -213,6 +214,8 @@ SMFSource::close ()
/* nothing to do: file descriptor is never kept open */
}
extern PBD::Timing minsert;
/** All stamps in audio samples */
samplecnt_t
SMFSource::read_unlocked (const Lock& lock,