Need help resolving auval failure : ERROR: -4 IN CALL MusicDeviceSendMIDI
Need help resolving auval failure : ERROR: -4 IN CALL MusicDeviceSendMIDI
- Subject: Need help resolving auval failure : ERROR: -4 IN CALL MusicDeviceSendMIDI
- From: John Smith <email@hidden>
- Date: Wed, 21 Sep 2016 17:03:10 +0000 (UTC)
I recently converted my AU from an audio effect into a music effect so that it can receive MIDI controller messages from the host. Only problem is my AU fails the auval MIDI test with the message “ERROR: -4 IN CALL MusicDeviceSendMIDI”. The error message is unclear because I am not inheriting from the MusicDeviceBase class. I could use some help in trying to isolate the cause of this error. Or general feedback if I am going about this the wrong way.
Here is some background information:
1) While converting my AU to a music effect, I changed the inheritance from AUEffectBase to AUMIDIEffectBase. I implemented overrides for public and protected methods having to do with MIDI, making sure that my AU does not return error -4 (kAudio_UnimplementedError).
3) I updated all occurrences of kAudioUnitType_Effect (aufx) to kAudioUnitType_MusicEffect (aumf), including the Info.plist dictionary entry described in the above tech note.
System Config:
OS X 10.11.6
auval v1.6.1a1
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden