From 11837744855a51cd3e36d9e31f71d7dd4d347222 Mon Sep 17 00:00:00 2001 From: Thierry Bultel Date: Thu, 8 Nov 2018 14:05:30 +0100 Subject: remove dead code and renamed unobvious variables Changed the ringbuffer "xxx_free" function to something more explicit, because it does not free anything. Changed "single letter" variables to nicer names Change-Id: I000c57aa5cc684d387105441889e011a45a6ccf3 Signed-off-by: Thierry Bultel --- plugins/alsa/alsa-api-mixer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/alsa/alsa-api-mixer.c') diff --git a/plugins/alsa/alsa-api-mixer.c b/plugins/alsa/alsa-api-mixer.c index f8222df..171046b 100644 --- a/plugins/alsa/alsa-api-mixer.c +++ b/plugins/alsa/alsa-api-mixer.c @@ -664,8 +664,8 @@ static void MixerBluezAlsaDevVerb(AFB_ReqT request) { } parsed: - printf("%s: interface %s, device %s, profile %s\n", __func__, interface, device, profile); - error = alsa_bluez_set_device(interface, device, profile); + AFB_ApiNotice(mixer->api, "%s: interface %s, device %s, profile %s\n", __func__, interface, device, profile); + error = alsa_bluez_set_remote_device(interface, device, profile); if (error) { AFB_ReqFailF(request, "runtime error", -- cgit 1.2.3-korg