polybar/src/adapters
Sebastian Graf cb75857ff6 pulse: Set volume to max when the increase was too huge (#1765)
Previously, when volume was in close proximity to n_max_volume, a larger
increase would not do anything. After this patch, volume is set to
m_max_volume in such scenarios. If the volume already is at
n_max_volume, we mirror the old behavior and emit a warning.

So, for example, consider m_max_volume was 100%, but the volume prior
to the increase was 96%. An increase of 5% would do nothing (emit a
warning, even) instead of setting the volume to 100%.

Note that this might happen even if the volume is at 95% according to
%percentage% due to rounding errors.
2019-05-14 22:06:14 +02:00
..
alsa fix(build): pow10 not defined on Fedora Rawhide (#807) 2017-10-15 19:16:07 +02:00
mpd.cpp feat(mpd): add support for MPD_TAG_ALBUM_ARTIST 2018-05-31 20:12:23 -07:00
net.cpp fix(net): buffer overflow when gathering ipv6 addr 2019-01-20 15:12:22 +01:00
net_iw.cpp feat(net): Add nl80211 support (#1009) 2018-06-18 20:16:09 -07:00
net_nl.cpp fix(net): Allow all characters for the SSID 2018-08-09 14:09:50 -07:00
pulseaudio.cpp pulse: Set volume to max when the increase was too huge (#1765) 2019-05-14 22:06:14 +02:00