mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-28 23:43:01 +00:00
patch RtMidi for ARM
This commit is contained in:
parent
e8bbd0e85d
commit
57158d9ebd
1 changed files with 1 additions and 1 deletions
2
extern/rtmidi/RtMidi.cpp
vendored
2
extern/rtmidi/RtMidi.cpp
vendored
|
@ -1805,7 +1805,7 @@ static void *alsaMidiHandler( void *ptr )
|
|||
struct timespec y;
|
||||
y.tv_nsec = apiData->lastTime.tv_nsec;
|
||||
y.tv_sec = apiData->lastTime.tv_sec;
|
||||
if ( x.tv_nsec < y.tv_nsec ) {
|
||||
if ( (long int) x.tv_nsec < y.tv_nsec ) {
|
||||
int nsec = (y.tv_nsec - (int)x.tv_nsec) / 1000000000 + 1;
|
||||
y.tv_nsec -= 1000000000 * nsec;
|
||||
y.tv_sec += nsec;
|
||||
|
|
Loading…
Reference in a new issue