]> code.delx.au - pulseaudio/blobdiff - src/modules/bluetooth/module-bluetooth-proximity.c
Merge commit 'coling/lgpl21'
[pulseaudio] / src / modules / bluetooth / module-bluetooth-proximity.c
index 4cfaaf5be37435644b281fe4d1856bb61b5d28bc..a3b525eee90b42bfbe99e1538fc76e619343fd1e 100644 (file)
@@ -5,7 +5,7 @@
 
   PulseAudio is free software; you can redistribute it and/or modify
   it under the terms of the GNU Lesser General Public License as published
-  by the Free Software Foundation; either version 2 of the License,
+  by the Free Software Foundation; either version 2.1 of the License,
   or (at your option) any later version.
 
   PulseAudio is distributed in the hope that it will be useful, but
@@ -103,7 +103,7 @@ static void update_volume(struct userdata *u) {
 
         u->muted = FALSE;
 
-        if (!(s = pa_namereg_get(u->module->core, u->sink_name, PA_NAMEREG_SINK, FALSE))) {
+        if (!(s = pa_namereg_get(u->module->core, u->sink_name, PA_NAMEREG_SINK))) {
             pa_log_warn("Sink device '%s' not available for unmuting.", pa_strnull(u->sink_name));
             return;
         }
@@ -116,7 +116,7 @@ static void update_volume(struct userdata *u) {
 
         u->muted = TRUE;
 
-        if (!(s = pa_namereg_get(u->module->core, u->sink_name, PA_NAMEREG_SINK, FALSE))) {
+        if (!(s = pa_namereg_get(u->module->core, u->sink_name, PA_NAMEREG_SINK))) {
             pa_log_warn("Sink device '%s' not available for muting.", pa_strnull(u->sink_name));
             return;
         }