-
Notifications
You must be signed in to change notification settings - Fork 115
ndk: Add AMidi interface #353
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
Open
paxbun
wants to merge
56
commits into
rust-mobile:master
Choose a base branch
from
paxbun:feat/amidi
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
56 commits
Select commit
Hold shift + click to select a range
2daf09c
ndk: Add AMidi interface
paxbun 9456589
ndk: Remove needless explicit lifetimes in midi.rs
paxbun 9cf8581
ndk: Fix mismatching doc comments in midi.rs
paxbun 9f7c9ef
ndk: Remove get_ prefix from midi.rs
paxbun 466bf4a
ndk: Fix doc comments of MidiOutputPort::receive
paxbun 4013f68
ndk-sys: Add feature `midi`
paxbun ff6697c
ndk: Add feature `midi`
paxbun 02630b0
ndk: Make Midi types implement Send
paxbun d3d616e
ndk: Update ndk/src/midi.rs
paxbun 4f53506
ndk: Fix mismatching doc comments in midi.rs
paxbun 15b917f
ndk: Fix link to ndk-samples with a permalink
paxbun 5ae1cad
ndk: Replace try_from_primitives in midi.rs with try_from
paxbun 06ebda5
ndk: Make MidiOutputPort::receive return timestamp only with MidiOpco…
paxbun 2c92479
ndk: Add ptr exposing functions to wrappers in midi.rs
paxbun b2ec4ea
ndk: Raise error when 2 or more msgs received in MidiOutputPort
paxbun 6f262cc
ndk: Remove as_ptr() from structs in midi.rs
paxbun 01877bc
ndk: Add more strict opcode checks to MidiOutputPort
paxbun 48b4416
ndk: Make msg for unexpected opcode in midi.rs more clear
paxbun aa26247
ndk: Fix vague doc comments in midi.rs
paxbun 8235a5c
ndk: Add mod media_error
paxbun 12df844
ndk: Remove pub use for MediaErrorResult from media/mod.rs
paxbun 34357c7
ndk: Remove pub use from media/mod.rs
paxbun 23b18b0
ndk: Reflect midi.rs changes to CHANGELOG.md
paxbun c79c8c5
fix: Make MidiDevice::from_java unsafe
paxbun 895350b
Merge branch 'master' into feat/amidi
paxbun acce571
fix(ndk): Remove all occurrences of ffi::size_t from midi.rs
paxbun 8900c1c
fix(ndk): Remove unnecessary casts from midi.rs
paxbun 95220e7
ndk: Rework media error types
MarijnS95 85288eb
Merge branch 'ndk-rework-media-error' into feat/amidi
paxbun cc1c2e3
fix(ndk): Reflect changes in media_error to midi
paxbun 200ab56
Merge branch 'master' into feat/amidi
paxbun 408e460
Update comments in ndk/src/midi.rs
paxbun 9a5744b
Update ndk/src/midi.rs
paxbun 412b6ad
Update ndk/src/midi.rs
paxbun aa4467e
Update ndk/CHANGELOG.md
paxbun 3cfaad4
fix: Remove impl Send for MidiDevice
paxbun 2e036d2
Fix comments in ndk/src/media_error.rs
paxbun aa79a19
ndk: Make "midi" feature dependent on "media"
paxbun 0341b4d
fix: Remove redundant Result mapping from midi.rs
paxbun c8b2b2e
ndk: Add MidiDeviceType::Unknown
paxbun 6044fc2
ndk: Add doc-comments to MidiInputPort
paxbun f22054d
ndk: Add doc-comments to fields of MidiOpcode::Data
paxbun 734b81b
ndk: Reference the Java Android MIDI docs in the doc-comments
paxbun 7220a9a
ndk: Fix doc-comments of MidiOutputPort::receive
paxbun 241b096
ndk: Drop Send for ndk::midi::Midi*Port
paxbun d9ef310
ndk: Describe about Java VM thread attachment in the safety section o…
paxbun 31159dc
ndk: Add safe wrapper of midi
paxbun 129edc2
ndk: Fix typos in ndk::midi::safe
paxbun 1ea5b32
Merge branch 'master' into feat/amidi
paxbun 83fe4b2
ndk: Fix clippy warnings in ndk::midi
paxbun 8c64160
ndk: Make examples in ndk::midi compilable
paxbun 5428ca7
ndk: Remove link to SafeMidiDeviceBox from the module-level doc-comme…
paxbun 802ab4a
ndk: Add more detailed description about safety of AMidi functions to…
paxbun 300118e
ndk: Add missing brackets to links to functions in doc-comments in nd…
paxbun 8086a7d
ndk: Enable media_error when "midi" is enabled
paxbun 5707555
Merge remote-tracking branch 'origin/master' into feat/amidi
paxbun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 |
---|---|---|
|
@@ -20,6 +20,7 @@ test = [] | |
audio = [] | ||
bitmap = [] | ||
media = [] | ||
midi = [] | ||
sync = [] | ||
|
||
[package.metadata.docs.rs] | ||
|
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.