From 69c59f4423ce79f41444479f5dde8dbc8ba977db Mon Sep 17 00:00:00 2001 From: Stephane Letz Date: Thu, 31 Mar 2011 11:34:58 +0200 Subject: [PATCH] Renaming for Windows compatibility. --- common/JackMidiWriteQueue.h | 4 ++-- linux/alsarawmidi/JackALSARawMidiSendQueue.cpp | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/JackMidiWriteQueue.h b/common/JackMidiWriteQueue.h index a39776c9..f21a58ff 100644 --- a/common/JackMidiWriteQueue.h +++ b/common/JackMidiWriteQueue.h @@ -37,7 +37,7 @@ namespace Jack { BUFFER_FULL, BUFFER_TOO_SMALL, EVENT_EARLY, - ERROR, + EN_ERROR, OK }; @@ -54,7 +54,7 @@ namespace Jack { * if the write queue isn't able to accept the event right now, * `BUFFER_TOO_SMALL` if this write queue will never be able to accept * the event because the event is too large, `EVENT_EARLY` if this - * queue cannot schedule events ahead of time, and `ERROR` if an error + * queue cannot schedule events ahead of time, and `EN_ERROR` if an error * occurs that cannot be specified by another return code. */ diff --git a/linux/alsarawmidi/JackALSARawMidiSendQueue.cpp b/linux/alsarawmidi/JackALSARawMidiSendQueue.cpp index 5f314263..80a11b56 100755 --- a/linux/alsarawmidi/JackALSARawMidiSendQueue.cpp +++ b/linux/alsarawmidi/JackALSARawMidiSendQueue.cpp @@ -30,7 +30,7 @@ JackALSARawMidiSendQueue::EnqueueEvent(jack_nframes_t time, size_t size, } jack_error("JackALSARawMidiSendQueue::EnqueueEvent - snd_rawmidi_write: " "%s", snd_strerror(result)); - return ERROR; + return EN_ERROR; } bool -- 2.11.4.GIT