mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
Implement module-always-source
This is basically a copy of module-always-sink but doing the same for sources. Whenever no source is available, a module-null-source is loaded and whenever a new source is available again, module-null-source is unloaded. By this, anything using a source will automatically be switched to the null source when the actual source disappears, and back to the actual source if it appears again.
This commit is contained in:
parent
c7fe78c9f7
commit
b4d2443249
3 changed files with 198 additions and 0 deletions
|
|
@ -24,6 +24,7 @@ src/modules/jack/module-jack-source.c
|
|||
src/modules/macosx/module-coreaudio-device.c
|
||||
src/modules/module-allow-passthrough.c
|
||||
src/modules/module-always-sink.c
|
||||
src/modules/module-always-source.c
|
||||
src/modules/module-cli.c
|
||||
src/modules/module-combine.c
|
||||
src/modules/module-console-kit.c
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue