-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix handful of issues in the initial MidiUmpDeviceService support code.
- we want identifiable device name for UMP, so split resources. - the service class name was inconsistent in aapinstrumentsample. - all those MidiDevice properties are now passed as lazy arguments to avoid inconsistent status (MidiReceiver is created at MidiDeviceService.onCreate() while we cannot use `deviceInfo` property to enumerate how many ports we have)
- Loading branch information
1 parent
e8440a7
commit b4bc4c6
Showing
3 changed files
with
17 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
samples/aapinstrumentsample/src/main/res/xml/ump_device_info.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<devices> | ||
<device name="InstrumentAPISample-UMP" manufacturer="androidaudioplugin.org" product="InstrumentSampleMidiDeviceService"> | ||
<input-port name="input" /> | ||
<output-port name="output" /> | ||
</device> | ||
</devices> | ||
|