[pulseaudio] 03/05: Adjust for changes in card API

Luke Yelavich themuso-guest at moszumanska.debian.org
Mon Jan 23 23:46:24 UTC 2017


This is an automated email from the git hooks/post-receive script.

themuso-guest pushed a commit to branch ubuntu
in repository pulseaudio.

commit b4333e1e73fdd97000809dff0f68e155e0f43d29
Author: Luke Yelavich <themuso at ubuntu.com>
Date:   Tue Jan 10 11:45:38 2017 +1100

    Adjust for changes in card API
---
 .../0505-bluetooth-bluez5-let-user-specify-a-default-profile-.patch     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/patches/0505-bluetooth-bluez5-let-user-specify-a-default-profile-.patch b/debian/patches/0505-bluetooth-bluez5-let-user-specify-a-default-profile-.patch
index e8460b7..28b7568 100644
--- a/debian/patches/0505-bluetooth-bluez5-let-user-specify-a-default-profile-.patch
+++ b/debian/patches/0505-bluetooth-bluez5-let-user-specify-a-default-profile-.patch
@@ -50,7 +50,7 @@ Index: pulseaudio/src/modules/bluetooth/module-bluez5-device.c
  
 +    if ((default_profile = pa_modargs_get_value(u->modargs, "profile", NULL))) {
 +        if (pa_hashmap_get(data.profiles, default_profile)) {
-+            pa_card_new_data_set_profile(&data, default_profile);
++            pa_card_set_profile(u->card, pa_hashmap_get(data.profiles, default_profile), false);
 +            pa_log_debug("Using %s profile as default", default_profile);
 +            u->default_profile = pa_xstrdup(default_profile);
 +        }

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-pulseaudio/pulseaudio.git



More information about the pkg-pulseaudio-devel mailing list