mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-07 13:30:03 -05:00
pulsecore: add PA_CORE_HOOK_*_MOVE_FAIL
In case pa_*_move_all_fail(), it is nicer to let a module override the default behavior to fallback on a different sink/source. (instead of unlinking the sink_input/source_output)
This commit is contained in:
parent
f56da98937
commit
86bec09fa8
3 changed files with 10 additions and 4 deletions
|
|
@ -70,6 +70,7 @@ typedef enum pa_core_hook {
|
|||
PA_CORE_HOOK_SINK_INPUT_UNLINK_POST,
|
||||
PA_CORE_HOOK_SINK_INPUT_MOVE_START,
|
||||
PA_CORE_HOOK_SINK_INPUT_MOVE_FINISH,
|
||||
PA_CORE_HOOK_SINK_INPUT_MOVE_FAIL,
|
||||
PA_CORE_HOOK_SINK_INPUT_STATE_CHANGED,
|
||||
PA_CORE_HOOK_SINK_INPUT_PROPLIST_CHANGED,
|
||||
PA_CORE_HOOK_SINK_INPUT_SET_VOLUME,
|
||||
|
|
@ -80,6 +81,7 @@ typedef enum pa_core_hook {
|
|||
PA_CORE_HOOK_SOURCE_OUTPUT_UNLINK_POST,
|
||||
PA_CORE_HOOK_SOURCE_OUTPUT_MOVE_START,
|
||||
PA_CORE_HOOK_SOURCE_OUTPUT_MOVE_FINISH,
|
||||
PA_CORE_HOOK_SOURCE_OUTPUT_MOVE_FAIL,
|
||||
PA_CORE_HOOK_SOURCE_OUTPUT_STATE_CHANGED,
|
||||
PA_CORE_HOOK_SOURCE_OUTPUT_PROPLIST_CHANGED,
|
||||
PA_CORE_HOOK_CLIENT_NEW,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue