mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-11-09 13:29:59 -05:00
tunnel-sink-new: reinit module
When configured, reinitialize the module instead of exiting. This allows a restart/reconnect, but the module to appear to always be alive when the user does: "pactl list modules". (The sink will still not exist until the tcp connection is established.) Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/688>
This commit is contained in:
parent
34d00afc74
commit
a48bee4f06
4 changed files with 187 additions and 9 deletions
|
|
@ -55,7 +55,7 @@ all_modules = [
|
|||
[ 'module-switch-on-connect', 'module-switch-on-connect.c' ],
|
||||
[ 'module-switch-on-port-available', 'module-switch-on-port-available.c' ],
|
||||
[ 'module-tunnel-sink', 'module-tunnel.c', [], ['-DTUNNEL_SINK=1'], [x11_dep] ],
|
||||
[ 'module-tunnel-sink-new', 'module-tunnel-sink-new.c' ],
|
||||
[ 'module-tunnel-sink-new', ['module-tunnel-sink-new.c', 'restart-module.c'] ],
|
||||
[ 'module-tunnel-source', 'module-tunnel.c', [], [], [x11_dep] ],
|
||||
[ 'module-tunnel-source-new', 'module-tunnel-source-new.c' ],
|
||||
[ 'module-virtual-sink', 'module-virtual-sink.c' ],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue