Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2487a033 authored by Dan Albert's avatar Dan Albert
Browse files

Fix C compatibility in AMidi.h.

Bug: https://github.com/android/ndk/issues/1739
Test: treehugger
Change-Id: I1ab7fabeaa592a2c7011daddff8661bdc3950da1
parent c4ff8d7f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -66,7 +66,7 @@ enum {
 *
 * Introduced in API 33.
 */
enum AMidiDevice_Protocol : int32_t {
typedef enum AMidiDevice_Protocol : int32_t {
    /**
     * Constant representing a default protocol with Universal MIDI Packets (UMP).
     * UMP is defined in "Universal MIDI Packet (UMP) Format and MIDI 2.0 Protocol" spec.
@@ -131,7 +131,7 @@ enum AMidiDevice_Protocol : int32_t {
     * MIDI-CI is defined in "MIDI Capability Inquiry (MIDI-CI)" spec.
     */
    AMIDI_DEVICE_PROTOCOL_UNKNOWN = -1
};
} AMidiDevice_Protocol;

/*
 * Device API