Documentation ¶
Rendered for windows/amd64
Index ¶
- Constants
- func MidiInAddBuffer(hMidiIn uintptr, lpMidiInHdr *MIDIHDR) (err error)
- func MidiInClose(hMidiIn uintptr) (err error)
- func MidiInGetNumDevs() uint32
- func MidiInOpen(uDeviceID uint32, dwCallback uintptr, dwCallbackInstance uintptr, ...) (hMidiIn uintptr, err error)
- func MidiInPrepareHeader(hMidiIn uintptr, lpMidiInHdr *MIDIHDR) (err error)
- func MidiInStart(hMidiIn uintptr) (err error)
- func MidiInUnprepareHeader(hMidiIn uintptr, lpMidiInHdr *MIDIHDR) (err error)
- func MidiOutClose(hMidiOut uintptr) (err error)
- func MidiOutGetNumDevs() uint32
- func MidiOutLongMsg(hmo uintptr, lpMidiOutHdr *MIDIHDR) (err error)
- func MidiOutOpen(uDeviceID uint32, dwCallback uintptr, dwCallbackInstance uintptr, ...) (hMidiOut uintptr, err error)
- func MidiOutPrepareHeader(hMidiOut uintptr, lpMidiOutHdr *MIDIHDR) (err error)
- func MidiOutShortMsg(hmo uintptr, dwMsg uint32) (err error)
- func MidiOutUnprepareHeader(hMidiOut uintptr, lpMidiOutHdr *MIDIHDR) (err error)
- type MIDIHDR
- type MIDIINCAPS
- type MIDIOUTCAPS
- type MidiInError
- type MidiInProc
- type MidiOutError
Constants ¶
View Source
const ( MMSYSERR_NOERROR uint32 = 0 MMSYSERR_BADDEVICEID uint32 = 2 MIDIERR_STILLPLAYING uint32 = 65 CALLBACK_NULL uint32 = 0 CALLBACK_WINDOW uint32 = 0x10000 CALLBACK_THREAD uint32 = 0x20000 CALLBACK_FUNCTION uint32 = 0x30000 MIDI_IO_STATUS uint32 = 32 MM_MIM_OPEN uint32 = 0x3c1 MM_MIM_CLOSE uint32 = 0x3c2 MM_MIM_DATA uint32 = 0x3c3 MM_MIM_LONGDATA uint32 = 0x3c4 MM_MIM_ERROR uint32 = 0x3c5 MM_MIM_LONGERROR uint32 = 0x3c6 MM_MOM_OPEN uint32 = 0x3c7 MM_MOM_CLOSE uint32 = 0x3c8 MM_MOM_DONE uint32 = 0x3c9 MM_MIM_MOREDATA uint32 = 0x3cc )
Variables ¶
This section is empty.
Functions ¶
func MidiInAddBuffer ¶
func MidiInClose ¶
func MidiInGetNumDevs ¶
func MidiInGetNumDevs() uint32
func MidiInOpen ¶
func MidiInPrepareHeader ¶
func MidiInStart ¶
func MidiInUnprepareHeader ¶
func MidiOutClose ¶
func MidiOutGetNumDevs ¶
func MidiOutGetNumDevs() uint32
func MidiOutLongMsg ¶
func MidiOutOpen ¶
func MidiOutPrepareHeader ¶
func MidiOutShortMsg ¶
func MidiOutUnprepareHeader ¶
Types ¶
type MIDIINCAPS ¶
type MIDIINCAPS struct { WMid uint16 WPid uint16 VDriverVersion uint32 SzPname [32]uint16 DwSupport uint32 }
func MidiInGetDevCaps ¶
func MidiInGetDevCaps(uDeviceID uintptr) (lpMidiInCaps *MIDIINCAPS, err error)
type MIDIOUTCAPS ¶
type MIDIOUTCAPS struct { WMid uint16 WPid uint16 VDriverVersion uint32 SzPname [32]uint16 WTechnology uint16 WVoices uint16 WNotes uint16 WChannelMask uint16 DwSupport uint32 }
func MidiOutGetDevCaps ¶
func MidiOutGetDevCaps(uDeviceID uintptr) (lpMidiOutCaps *MIDIOUTCAPS, err error)
type MidiInError ¶
type MidiInError uint32
func (MidiInError) Error ¶
func (e MidiInError) Error() string
type MidiInProc ¶
type MidiOutError ¶
type MidiOutError uint32
func (MidiOutError) Error ¶
func (e MidiOutError) Error() string
Click to show internal directories.
Click to hide internal directories.