Skip to content
Discussion options

You must be logged in to vote

Hi Sander,

Well, from what I see, the user is on macOS. This error means GetDevicePropertyValue system function has returned code that doesn't indicate success and it's not in the list of errors I know:

OSStatus status = GetDevicePropertyValue(inputDeviceInfo->endpointRef, propertyID, value);
if (status != noErr)
{
    switch (status)
    {
        case kMIDIUnknownEndpoint: return IN_GETPROPERTYRESULT_UNKNOWNENDPOINT;
        case SMALL_BUFFER_ERROR: return IN_GETPROPERTYRESULT_TOOLONG;
        case kMIDIUnknownProperty: return IN_GETPROPERTYRESULT_UNKNOWNPROPERTY;
    }
        
    return IN_GETPROPERTYRESULT_UNKNOWNERROR;
}
    
return IN_GETPROPERTYRESULT_OK;

How often this error is …

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by BlackCoyote
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants