We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5428ca7 commit 802ab4aCopy full SHA for 802ab4a
ndk/src/midi/safe.rs
@@ -4,6 +4,9 @@
4
//! the Java VM when being dropped, which is required by [`AMidiDevice_release`]. All other types
5
//! of this module holds an [`Arc`] of `SafeMidiDeviceBox`.
6
//!
7
+//! Note that all other functions except for [`AMidiDevice_fromJava`] and [`AMidiDevice_release`]
8
+//! are safe to be called in any thread without the calling thread attached to the Java VM.
9
+//!
10
//! [`AMidiDevice`]: https://developer.android.com/ndk/reference/group/midi#amididevice
11
//! [`AMidiDevice_release`]: https://developer.android.com/ndk/reference/group/midi#amididevice_release
12
//! [`AMidiInputPort`]: https://developer.android.com/ndk/reference/group/midi#amidiinputport
0 commit comments