diff options
author | Max Kellermann <max@duempel.org> | 2009-10-21 09:48:37 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-10-21 09:48:37 +0200 |
commit | b8ccc885c883a24265cd49de385b61d368a1b66f (patch) | |
tree | 407a9633e08614234b17e8bac4c63e9be737d4ab /src/event_pipe.h | |
parent | 4e2fb3fb89b8b80d5366466f391f21386120019e (diff) | |
download | mpd-b8ccc885c883a24265cd49de385b61d368a1b66f.tar.gz mpd-b8ccc885c883a24265cd49de385b61d368a1b66f.tar.xz mpd-b8ccc885c883a24265cd49de385b61d368a1b66f.zip |
volume: added PIPE_EVENT_MIXER
Flush the hardware volume cache, and send the MIXER idle event. This
allows mixer plugins to detect volume changes.
Diffstat (limited to '')
-rw-r--r-- | src/event_pipe.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/event_pipe.h b/src/event_pipe.h index 33f92d440..4614ef25c 100644 --- a/src/event_pipe.h +++ b/src/event_pipe.h @@ -41,6 +41,9 @@ enum pipe_event { /** SIGHUP received: reload configuration, roll log file */ PIPE_EVENT_RELOAD, + /** a hardware mixer plugin has detected a change */ + PIPE_EVENT_MIXER, + PIPE_EVENT_MAX }; |