OH_MIDIDeviceInformation
typedef struct {...} OH_MIDIDeviceInformation
Overview
This struct defines device information, such as the storage device ID.
Since: 24
Related module: OHMIDI
Header file: native_midi_base.h
Summary
Member Variables
| Name | Description |
|---|---|
| int64_t midiDeviceId | Unique ID of a MIDI device. Since: 24 |
| OH_MIDIDeviceType deviceType | Device type (such as USB and BLE). Since: 24 |
| OH_MIDIProtocol nativeProtocol | MIDI protocol natively supported by the device. - OH_MIDI_PROTOCOL_1_0: The device is a traditional device or the current configuration is MIDI 1.0. - OH_MIDI_PROTOCOL_2_0: The device supports MIDI 2.0. Since: 24 |
| char deviceName[256] | Device name. Since: 24 |
| uint64_t vendorId | Vendor ID. Since: 24 |
| uint64_t productId | Product ID. Since: 24 |
| char deviceAddress[64] | Physical address of a device (BLE device). Since: 24 |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-native-audiostreambuilder-h
openharmony 鸿蒙 capi-ohaudiosuite
openharmony 鸿蒙 js-apis-inner-multimedia-systemSoundPlayer
openharmony 鸿蒙 arkts-apis-audio-i
openharmony 鸿蒙 arkts-apis-audio-AudioManager
openharmony 鸿蒙 capi-ohaudiosuite-oh-audiosuite-spacerenderpositionparams