X-Git-Url: http://sigrok.org/gitweb/?a=blobdiff_plain;f=hardware%2Falsa%2Fapi.c;h=5538e4f05089f0861d0f664f0883c5470d0a0200;hb=660e398fe9f5fc608787f8fd75a9df8aac61026f;hp=0f54eb48cc228384f6257eeb73ef6a145d59478e;hpb=8f996b89481670219c7576e2c68b128a0a2ce026;p=libsigrok.git diff --git a/hardware/alsa/api.c b/hardware/alsa/api.c index 0f54eb48..5538e4f0 100644 --- a/hardware/alsa/api.c +++ b/hardware/alsa/api.c @@ -129,11 +129,11 @@ static int cleanup(void) } static int config_get(int id, GVariant **data, const struct sr_dev_inst *sdi, - const struct sr_probe_group *probe_group) + const struct sr_channel_group *channel_group) { struct dev_context *devc; - (void)probe_group; + (void)channel_group; switch (id) { case SR_CONF_SAMPLERATE: @@ -148,11 +148,11 @@ static int config_get(int id, GVariant **data, const struct sr_dev_inst *sdi, } static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi, - const struct sr_probe_group *probe_group) + const struct sr_channel_group *channel_group) { struct dev_context *devc; - (void)probe_group; + (void)channel_group; if (sdi->status != SR_ST_ACTIVE) return SR_ERR_DEV_CLOSED; @@ -174,14 +174,14 @@ static int config_set(int id, GVariant *data, const struct sr_dev_inst *sdi, } static int config_list(int key, GVariant **data, const struct sr_dev_inst *sdi, - const struct sr_probe_group *probe_group) + const struct sr_channel_group *channel_group) { struct dev_context *devc; GVariant *gvar; GVariantBuilder gvb; int i; - (void)probe_group; + (void)channel_group; switch (key) { case SR_CONF_DEVICE_OPTIONS: