OH_MIDIPortInformation
typedef struct {...} OH_MIDIPortInformation
Overview
This struct defines the port information, which is used to enumerate ports, including port names.
Since: 24
Related module: OHMIDI
Header file: native_midi_base.h
Summary
Member Variables
| Name | Description |
|---|---|
| uint32_t portIndex | Index of a port in the device. Since: 24 |
| int64_t deviceId | ID of the MIDI device to which a port belongs. Since: 24 |
| OH_MIDIPortDirection direction | Port direction (input or output). Since: 24 |
| char name[64] | Port name. 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