Documentation ¶
Overview ¶
Package rtmididrv provides a Driver to connect via rtmidi.
Index ¶
- type CloseErrors
- type Driver
- func (d *Driver) Close() (err error)
- func (d *Driver) Ins() (ins []drivers.In, err error)
- func (d *Driver) OpenVirtualIn(name string) (drivers.In, error)
- func (d *Driver) OpenVirtualOut(name string) (drivers.Out, error)
- func (d *Driver) Outs() (outs []drivers.Out, err error)
- func (d *Driver) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CloseErrors ¶
type CloseErrors []error
CloseErrors collects error from closing multiple MIDI ports
func (CloseErrors) Error ¶
func (c CloseErrors) Error() string
type Driver ¶
type Driver struct {
// contains filtered or unexported fields
}
func (*Driver) OpenVirtualIn ¶
OpenVirtualIn opens and returns a virtual MIDI in. We can't get the port number, so set it to -1.
func (*Driver) OpenVirtualOut ¶
OpenVirtualOut opens and returns a virtual MIDI out. We can't get the port number, so set it to -1.
Click to show internal directories.
Click to hide internal directories.