aboutsummaryrefslogtreecommitdiff
path: root/tests/volume-warning-mock.vala
diff options
context:
space:
mode:
authorcharles kerr <charlesk@canonical.com>2015-12-29 11:03:41 -0600
committercharles kerr <charlesk@canonical.com>2015-12-29 11:03:41 -0600
commit707fd6c5e2d5bdfa6ff1b87f770c1d0b8e8d0894 (patch)
tree4f72226af74858f8d7bff587d0c8f83a76bee48f /tests/volume-warning-mock.vala
parent8d806b211d28140734aaa387cb6c1652945ea003 (diff)
downloadayatana-indicator-sound-707fd6c5e2d5bdfa6ff1b87f770c1d0b8e8d0894.tar.gz
ayatana-indicator-sound-707fd6c5e2d5bdfa6ff1b87f770c1d0b8e8d0894.tar.bz2
ayatana-indicator-sound-707fd6c5e2d5bdfa6ff1b87f770c1d0b8e8d0894.zip
break volume-warning into an abstract base and concrete pulse-based impl
Diffstat (limited to 'tests/volume-warning-mock.vala')
-rw-r--r--tests/volume-warning-mock.vala4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/volume-warning-mock.vala b/tests/volume-warning-mock.vala
index e680b3f..c14784d 100644
--- a/tests/volume-warning-mock.vala
+++ b/tests/volume-warning-mock.vala
@@ -25,4 +25,8 @@ public class VolumeWarningMock : VolumeWarning
public VolumeWarningMock(IndicatorSound.Options options) {
base(options);
}
+
+ protected override void sound_system_set_multimedia_volume(PulseAudio.Volume volume) {
+ GLib.message("volume-warning-mock setting multimedia volume to %d", (int)volume);
+ }
}