mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-18 12:46:32 +01:00
API consistency, prefer typedef'ed event_id_t
This commit is contained in:
parent
5a4ef850ce
commit
4887350e0d
3 changed files with 7 additions and 7 deletions
|
|
@ -254,7 +254,7 @@ SMFSource::read_unlocked (const Lock& lock,
|
|||
DEBUG_TRACE (DEBUG::MidiSourceIO, string_compose ("SMF read_unlocked: seek to %1\n", start));
|
||||
Evoral::SMF::seek_to_start();
|
||||
while (time < start_ticks) {
|
||||
gint ignored;
|
||||
Evoral::event_id_t ignored;
|
||||
|
||||
ret = read_event(&ev_delta_t, &ev_size, &ev_buffer, &ignored);
|
||||
if (ret == -1) { // EOF
|
||||
|
|
@ -271,7 +271,7 @@ SMFSource::read_unlocked (const Lock& lock,
|
|||
_smf_last_read_end = start + duration;
|
||||
|
||||
while (true) {
|
||||
gint ignored; /* XXX don't ignore note id's ??*/
|
||||
Evoral::event_id_t ignored; /* XXX don't ignore note id's ??*/
|
||||
|
||||
ret = read_event(&ev_delta_t, &ev_size, &ev_buffer, &ignored);
|
||||
if (ret == -1) { // EOF
|
||||
|
|
@ -657,7 +657,7 @@ SMFSource::load_model (const Glib::Threads::Mutex::Lock& lock, bool force_reload
|
|||
uint32_t size = 0;
|
||||
uint8_t* buf = NULL;
|
||||
int ret;
|
||||
gint event_id;
|
||||
Evoral::event_id_t event_id;
|
||||
bool have_event_id;
|
||||
|
||||
// TODO simplify event allocation
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue