Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MidiDeviceService instantiation fails if there is <plugin> entry for sfizz-multi in aap_metadata.xml #7

Open
atsushieno opened this issue Nov 7, 2022 · 0 comments

Comments

@atsushieno
Copy link
Owner

By default, if we use aap_metadata.xml which was generated from aap-lv2-metadata-importer, MIDI device instantiation fails with the error:

02:44:21.417  1891-1913  JavaBinder      org...n.samples.aap_sfizz  E  *** Uncaught remote exception!  (Exceptions are not yet supported across processes.)
                                                                       java.lang.AssertionError: Assertion failed
                                                                       	at org.androidaudioplugin.midideviceservice.AudioPluginMidiDeviceService.getPluginId(AudioPluginMidiDeviceService.kt:22)
                                                                       	at org.androidaudioplugin.midideviceservice.AudioPluginMidiDeviceService.getPluginId$default(AudioPluginMidiDeviceService.kt:17)
                                                                       	at org.androidaudioplugin.midideviceservice.AudioPluginMidiReceiver.onDeviceOpened(AudioPluginMidiReceiver.kt:37)
                                                                       	at org.androidaudioplugin.midideviceservice.AudioPluginMidiDeviceService.onDeviceStatusChanged(AudioPluginMidiDeviceService.kt:59)
                                                                       	at android.media.midi.MidiDeviceService$1.onDeviceStatusChanged(MidiDeviceService.java:60)

It seems to be due to some failure in plugin resolution by pluginId (sfizz vs. sfizz-multi).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant