HinawaSndDice
HinawaSndDice — A notification listener for Dice models
|
|
Description
A HinawaSndDice listen to Dice notification and generates signal when
received. This inherits HinawaSndUnit.
Functions
hinawa_snd_dice_open ()
void
hinawa_snd_dice_open (HinawaSndDice *self
,
gchar *path
,
GError **exception
);
Open ALSA hwdep character device and check it for Dice devices.
hinawa_snd_dice_transact ()
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.