summaryrefslogtreecommitdiff
path: root/src/pulsecore/core.h
diff options
context:
space:
mode:
authorColin Guthrie <cguthrie@mandriva.org>2011-02-25 10:27:23 +0000
committerColin Guthrie <cguthrie@mandriva.org>2011-02-25 11:28:01 +0000
commit3153b60a62fec0a3d826b3c0427044d1a11df3a1 (patch)
tree22b5f9f633c09d5907f3d5b5a517dd0f424c1800 /src/pulsecore/core.h
parent9379d4015c48ed15a9f5bde8dac085dbca08bea3 (diff)
downloadpulseaudio-3153b60a62fec0a3d826b3c0427044d1a11df3a1.tar.gz
core: Add a new hook PA_CORE_HOOK_CARD_PROFILE_CHANGED
This will allow modules to know when a card profile has changed and take appropriate action. This might prove useful when developing UCM so that the appropriate verb can be set.
Diffstat (limited to 'src/pulsecore/core.h')
-rw-r--r--src/pulsecore/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/pulsecore/core.h b/src/pulsecore/core.h
index daa89c1c1..358b98d7e 100644
--- a/src/pulsecore/core.h
+++ b/src/pulsecore/core.h
@@ -113,6 +113,7 @@ typedef enum pa_core_hook {
PA_CORE_HOOK_CARD_NEW,
PA_CORE_HOOK_CARD_PUT,
PA_CORE_HOOK_CARD_UNLINK,
+ PA_CORE_HOOK_CARD_PROFILE_CHANGED,
PA_CORE_HOOK_MAX
} pa_core_hook_t;