Function
ALSARawmidiget_subdevice_id_list
Declaration [src]
gboolean
alsarawmidi_get_subdevice_id_list (
guint card_id,
guint device_id,
ALSARawmidiStreamDirection direction,
guint** entries,
gsize* entry_count,
GError** error
)
Description [src]
Get the list of numeric identifier for subdevices belongs to the numerical identifier of card, device, and the direction.
The call of function executes open(2)
, close(2)
, and ioctl(2)
system call with
SNDRV_CTL_IOCTL_RAWMIDI_INFO
command for ALSA control character device.
Parameters
card_id |
guint |
The numeric value for sound card to query. |
|
device_id |
guint |
The numeric value of rawmidi device to query. |
|
direction |
ALSARawmidiStreamDirection |
The direction of stream to query, one of |
|
entries |
An array of guint* |
The list of numeric identifier of subdevice. |
|
The argument will be set by the function. | |
The length of the array is specified in the entry_count argument. | |
The called function takes ownership of the data, and is responsible for freeing it. | |
entry_count |
gsize* |
The number of entries. |
|
The argument will be set by the function. | |
error |
GError ** |
The return location for a GError* , or NULL . |