volume: added PIPE_EVENT_MIXER

Flush the hardware volume cache, and send the MIXER idle event.  This
allows mixer plugins to detect volume changes.
This commit is contained in:
Max Kellermann
2009-10-21 09:48:37 +02:00
parent 4e2fb3fb89
commit b8ccc885c8
2 changed files with 19 additions and 0 deletions

View File

@@ -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
};