diff options
author | charles kerr <charlesk@canonical.com> | 2015-12-29 16:21:25 -0600 |
---|---|---|
committer | charles kerr <charlesk@canonical.com> | 2015-12-29 16:21:25 -0600 |
commit | 4887db8e4409fa6e83c4ab2b1d5e5429a6956980 (patch) | |
tree | 5d7d5b3391dc1ecc7a5500c0056d898da955e46f /src/volume-control-pulse.vala | |
parent | c7796f4ddfe0b11ecb76853ba5dca17748c725c1 (diff) | |
download | ayatana-indicator-sound-4887db8e4409fa6e83c4ab2b1d5e5429a6956980.tar.gz ayatana-indicator-sound-4887db8e4409fa6e83c4ab2b1d5e5429a6956980.tar.bz2 ayatana-indicator-sound-4887db8e4409fa6e83c4ab2b1d5e5429a6956980.zip |
clean up tracer GLib.message() calls
Diffstat (limited to 'src/volume-control-pulse.vala')
-rw-r--r-- | src/volume-control-pulse.vala | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/volume-control-pulse.vala b/src/volume-control-pulse.vala index 6d777c4..8b365aa 100644 --- a/src/volume-control-pulse.vala +++ b/src/volume-control-pulse.vala @@ -365,7 +365,6 @@ public class VolumeControlPulse : VolumeControl var vol = new VolumeControl.Volume(); vol.volume = volume_to_double (volume); vol.reason = VolumeControl.VolumeReasons.VOLUME_STREAM_CHANGE; - GLib.message("setting volume to %f due to stream change", vol.volume); this.volume = vol; } catch (GLib.Error e) { warning ("unable to get volume for active role %s (%s)", sink_input_objp, e.message); @@ -381,7 +380,6 @@ public class VolumeControlPulse : VolumeControl if (role != null && role in _valid_roles) { if (sink_input.corked == 0 || role == "phone") { _sink_input_list.insert (0, sink_input.index); - GLib.message("role %s _objp_role_multimedia %s", role, _objp_role_multimedia); switch (role) { case "multimedia": @@ -626,13 +624,10 @@ public class VolumeControlPulse : VolumeControl _pa_volume_sig_count++; } - GLib.message ("Calling org.PulseAudio.Ext.StreamRestore1.RestoreEntry Set Volume"); yield _pconn.call ("org.PulseAudio.Ext.StreamRestore1.RestoreEntry", active_role_objp, "org.freedesktop.DBus.Properties", "Set", new Variant ("(ssv)", "org.PulseAudio.Ext.StreamRestore1.RestoreEntry", "Volume", volume), null, DBusCallFlags.NONE, -1); - - GLib.message ("Set volume to %f on path %s", vol, active_role_objp); } catch (GLib.Error e) { lock (_pa_volume_sig_count) { _pa_volume_sig_count--; @@ -950,7 +945,6 @@ public class VolumeControlPulse : VolumeControl var vol = new VolumeControl.Volume(); vol.volume = _account_service_volume; vol.reason = VolumeControl.VolumeReasons.ACCOUNTS_SERVICE_SET; - GLib.message("setting volume to %f due to accounts service set", vol.volume); this.volume = vol; return; } |