Method
ALSARawmidiStreamPairopen
Declaration [src]
gboolean
alsarawmidi_stream_pair_open (
ALSARawmidiStreamPair* self,
guint card_id,
guint device_id,
guint subdevice_id,
ALSARawmidiStreamPairInfoFlag access_modes,
gint open_flag,
GError** error
)
Description [src]
Open file descriptor for a pair of streams to attach input/output substreams corresponding to the given subdevice.
The call of function executes open(2)
system call for ALSA rawmidi character device.
Parameters
card_id |
guint |
The numeric identifier of sound card. |
|
device_id |
guint |
The numeric identifier of rawmidi device for the sound card. |
|
subdevice_id |
guint |
The numeric identifier of subdevice for the rawmidi device. |
|
access_modes |
ALSARawmidiStreamPairInfoFlag |
Access flags for stream direction. |
|
open_flag |
gint |
The flag of |
|
error |
GError ** |
The return location for a GError* , or NULL . |