Method
ALSARawmidiStreamPairget_substream_info
Declaration [src]
gboolean
alsarawmidi_stream_pair_get_substream_info (
ALSARawmidiStreamPair* self,
ALSARawmidiStreamDirection direction,
ALSARawmidiSubstreamInfo** substream_info,
GError** error
)
Description [src]
Get information of substream attached to the stream pair.
The call of function executes ioctl(2)
system call with SNDRV_RAWMIDI_IOCTL_INFO
command
for ALSA rawmidi character device.
Parameters
direction |
ALSARawmidiStreamDirection |
The direction of substream attached to the stream pair. |
|
substream_info |
ALSARawmidiSubstreamInfo |
The information for requested substream. |
|
The argument will be set by the function. | |
The instance takes ownership of the data, and is responsible for freeing it. | |
error |
GError ** |
The return location for a GError* , or NULL . |