Top | ![]() |
![]() |
![]() |
![]() |
A HinawaSndDice listen to Dice notification and generates signal when received. This inherits HinawaSndUnit.
void hinawa_snd_dice_open (HinawaSndDice *self
,gchar *path
,GError **exception
);
Open ALSA hwdep character device and check it for Dice devices.
self |
A HinawaSndUnit |
|
path |
A full path of a special file for ALSA hwdep character device |
|
exception |
A GError |
void hinawa_snd_dice_transact (HinawaSndDice *self
,guint64 addr
,GArray *frame
,guint32 bit_flag
,GError **exception
);
Execute write transactions to the given address, then wait and check notification.
self |
A HinawaSndDice |
|
addr |
A destination address of target device |
|
frame |
a 32bit array. |
[element-type guint32][array][in] |
bit_flag |
bit flag to wait |
|
exception |
A GError |