diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2014-06-25 14:27:53 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2014-06-25 14:27:53 -0500 |
commit | ea8bedf5ec63ca42de776de9f4c21343a8163578 (patch) | |
tree | a5302d6eaa5005ec44b6498566f00e4237e697d8 | |
parent | f630aa9b515a181e0647f0005a01ada32f813199 (diff) | |
download | ayatana-indicator-datetime-ea8bedf5ec63ca42de776de9f4c21343a8163578.tar.gz ayatana-indicator-datetime-ea8bedf5ec63ca42de776de9f4c21343a8163578.tar.bz2 ayatana-indicator-datetime-ea8bedf5ec63ca42de776de9f4c21343a8163578.zip |
make get_gain_level() a little easier to read.
-rw-r--r-- | src/snap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/snap.cpp b/src/snap.cpp index cc6a36d..25632e9 100644 --- a/src/snap.cpp +++ b/src/snap.cpp @@ -141,8 +141,8 @@ private: { case ALARM_VOLUME_VERY_QUIET: return -8; case ALARM_VOLUME_QUIET: return -4; - case ALARM_VOLUME_VERY_LOUD: return 8; case ALARM_VOLUME_LOUD: return 4; + case ALARM_VOLUME_VERY_LOUD: return 8; default: return 0; } } |