music player daemon (fork)
Go to file
Vitaly Ostrosablin ac06088948 Make volume changes to apply to disabled software mixers.
Move audio output state check ahead of mixer check and force volume
applying even for disabled software mixed outputs.

This fixes incorrect software mixer volume that used to occur when
volume was changed while output being disabled.

This is easily reproduced with following sequence of commands on
multi-output software mixed MPD setup.

 mpc volume 38; mpc disable 3; mpc volume 88; mpc enable 3

On current MPD, following commands would result in output 3 playing at
volume 38, while all other enabled outputs would play at volume
88. Moreover, global volume would display average of outputs real
volumes. In my case, it's 75.

After applying this patch, following commands would produce expected
behavior. All outputs play at expected (88) volume. And volume is
correctly displayed as 88.

Closes https://github.com/MusicPlayerDaemon/MPD/issues/1423

Signed-off-by: Vitaly Ostrosablin tmp6154@yandex.ru


Signed-off-by: Vitaly Ostrosablin <tmp6154@yandex.ru>
2022-03-26 06:29:18 +01:00
.github .github/workflows/build.yml: rebuild branch v0.23.x 2021-12-03 23:00:42 +01:00
android increment version number to 0.23.7 2022-03-14 18:55:55 +01:00
build build/pkg-config.sh: add comment 2019-02-22 12:39:59 +01:00
doc increment version number to 0.23.7 2022-03-14 18:55:55 +01:00
python/build python/build/libs.py: update Boost to 1.78.0 2022-03-14 14:52:24 +01:00
src Make volume changes to apply to disabled software mixers. 2022-03-26 06:29:18 +01:00
subprojects Revert "python/build/libs.py: remove flac, switch to Meson wrap" 2021-10-07 13:28:17 +02:00
systemd Revert "systemd: add "RuntimeDirectory" directive" 2021-11-11 10:16:13 +01:00
test test/DumpOgg: new debug program 2022-03-16 16:51:44 +01:00
win32 python/build/libs.py: update libopenmpt configure flags 2021-11-04 15:23:24 +08:00
.clang-format Add .clang-format 2020-05-27 18:58:55 +08:00
.gitignore .gitignore: add emacs lsp-mode files 2020-05-26 21:07:56 +02:00
.travis.yml meson.build: libfmt integration 2021-05-25 15:48:49 +02:00
AUTHORS copyright year 2021 2021-01-01 19:54:28 +01:00
COPYING Update the text of the GPLv2, this fixes the address and a few other oddities. 2008-12-20 19:02:09 -08:00
meson_options.txt Merge branch 'v0.22.x' 2021-08-05 15:17:07 +02:00
meson.build increment version number to 0.23.7 2022-03-14 18:55:55 +01:00
mpd.svg import MPD SVG icon 2014-07-14 19:04:46 +02:00
NEWS Make volume changes to apply to disabled software mixers. 2022-03-26 06:29:18 +01:00
README.md doc, README.md: update IRC server name/URL 2021-06-23 15:48:42 +02:00
valgrind.suppressions valgrind.suppressions: add GObject/libgcrypt/libsmbclient suppressions 2019-02-05 22:53:02 +01:00

Music Player Daemon

http://www.musicpd.org

A daemon for playing music of various formats. Music is played through the server's audio device. The daemon stores info about all available music, and this info can be easily searched and retrieved. Player control, info retrieval, and playlist management can all be managed remotely.

For basic installation instructions read the manual.

Users

Developers

Legal

MPD is released under the GNU General Public License version 2, which is distributed in the COPYING file.