Top | ![]() |
![]() |
![]() |
![]() |
HinawaSndEfw * | hinawa_snd_efw_new () |
void | hinawa_snd_efw_open () |
void | hinawa_snd_efw_transaction () |
void | hinawa_snd_efw_transact () |
A HinawaSndEfw is an application of Echo Fireworks Transaction (EFT). This inherits HinawaSndUnit.
HinawaSndEfw *
hinawa_snd_efw_new (void
);
Instantiate HinawaSndEfw object and return the instance.
Since: 1.3.
void hinawa_snd_efw_open (HinawaSndEfw *self
,gchar *path
,GError **exception
);
Open ALSA hwdep character device and check it for Fireworks devices.
void hinawa_snd_efw_transaction (HinawaSndEfw *self
,guint category
,guint command
,const guint32 *args
,gsize arg_count
,guint32 *const *params
,gsize *param_count
,GError **exception
);
Execute transaction according to Echo Fireworks Transaction protocol.
self |
A HinawaSndEfw. |
|
category |
one of category for the transaction. |
|
command |
one of commands for the transaction. |
|
args |
An array with elements for quadlet data as arguments for command. |
[array length=arg_count][in][nullable] |
arg_count |
The number of quadlets in the args array. |
|
params |
An array with elements for quadlet data to save parameters in response. Callers should give it for buffer with enough space against the request since this library performs no reallocation. Due to the reason, the value of this argument should point to the pointer to the array and immutable. The content of array is mutable for parameters in response. |
[array length=param_count][inout] |
param_count |
The number of quadlets in the params array. |
|
exception |
A GError. |
Since: 1.4.
void hinawa_snd_efw_transact (HinawaSndEfw *self
,guint category
,guint command
,GArray *args
,GArray *params
,GError **exception
);
hinawa_snd_efw_transact
has been deprecated since version 1.4 and should not be used in newly-written code.
Use hinawa_snd_efw_transaction()
, instead.
Execute transaction according to Echo Fireworks Transaction protocol.