X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=utils.c;h=b59e2a40171c5cd139e2722f4c6e423ab50f1eac;hb=refs%2Ftags%2F5.0.2;hp=6e18f836ffb3308edf285b75b9ed0bcd9dbc8c11;hpb=587104e6d5dea64e7b1eb2a8687ecbc5bde98c00;p=staging%2Fagl-audio-plugin.git diff --git a/utils.c b/utils.c index 6e18f83..b59e2a4 100644 --- a/utils.c +++ b/utils.c @@ -151,7 +151,7 @@ void agl_utils_volume_ramp (struct userdata *u, struct agl_null_sink *ns, bool u pa_cvolume_ramp_set (&rampvol, sinp->volume.channels, PA_VOLUME_RAMP_TYPE_LINEAR, time, newvol); - pa_sink_input_set_volume_ramp (sinp, &rampvol, true, false); + pa_sink_input_set_volume_ramp (sinp, &rampvol, true); } const char *agl_utils_get_card_name (pa_card *card) @@ -223,7 +223,7 @@ pa_sink *agl_utils_get_primary_alsa_sink (struct userdata *u) { pa_core *core; pa_sink *sink; - int idx; + uint32_t idx; pa_assert (u); pa_assert_se ((core = u->core)); @@ -240,7 +240,7 @@ pa_sink *agl_utils_get_alsa_sink (struct userdata *u, const char *name) { pa_core *core; pa_sink *sink; - int idx; + uint32_t idx; pa_assert (u); pa_assert_se ((core = u->core));