Changeset 379ffd9 in buchla-emu for emu


Ignore:
Timestamp:
01/05/2018 01:50:38 PM (7 years ago)
Author:
Alexander Heinrich <alex.heinrich@…>
Branches:
master
Children:
77d8df8
Parents:
56746cf
Message:

Correct parameters of midi callback.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • emu/mid.c

    r56746cf r379ffd9  
    2828#define REG_TDR_RDR 3
    2929
    30 #define BUF_SZ 128
     30#define BUF_SZ 256
    3131
    3232typedef struct {
     
    105105}
    106106
    107 static void midi_callback(double timeStamp, const unsigned char* message, void *userData) {
     107static void midi_callback(double timeStamp, const unsigned char* message, size_t size, void *userData) {
     108        (void) size;
     109        (void) userData;
     110
    108111        ver2("Timestamp %f\n", timeStamp);
    109112
Note: See TracChangeset for help on using the changeset viewer.