]> code.delx.au - pulseaudio/commit
core: Added new hooks: PA_CORE_HOOK_SOURCE_PORT_CHANGED and PA_CORE_HOOK_SINK_PORT_CH...
authorKim Therkelsen <kim_t26@hotmail.com>
Fri, 15 Oct 2010 07:25:12 +0000 (09:25 +0200)
committerColin Guthrie <cguthrie@mandriva.org>
Fri, 25 Feb 2011 10:04:07 +0000 (10:04 +0000)
commit9379d4015c48ed15a9f5bde8dac085dbca08bea3
tree05430fc579b23f1204c7fdef3ee345d22859d91a
parent6bd32ee2d960b7fe1930851c4006775f4c20374e
core: Added new hooks: PA_CORE_HOOK_SOURCE_PORT_CHANGED and PA_CORE_HOOK_SINK_PORT_CHANGED

This allows modules to know when certain ports are changed.
This will allow e.g. a filter module (or LADSAP) to only load
when a certain port is used on the device (e.g. to only filter
headphones and not normal speakers).

(Comment from Colin Guthrie: This may also have use in UCM)
src/pulsecore/core.h
src/pulsecore/sink.c
src/pulsecore/source.c