summaryrefslogtreecommitdiffstats
path: root/alsa-hook
diff options
context:
space:
mode:
Diffstat (limited to 'alsa-hook')
-rw-r--r--alsa-hook/PolicyAlsaHook.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/alsa-hook/PolicyAlsaHook.c b/alsa-hook/PolicyAlsaHook.c
index db4e5a2..49e1559 100644
--- a/alsa-hook/PolicyAlsaHook.c
+++ b/alsa-hook/PolicyAlsaHook.c
@@ -574,9 +574,7 @@ int PLUGIN_ENTRY_POINT (snd_pcm_t *pcm, snd_config_t *conf) {
afbClient->pcm = pcm;
afbClient->name= strdup(snd_pcm_name(pcm));
afbClient->verbose = 0;
- (void) asprintf(&afbClient->uid, "alsa-hook-pid:%d", getpid());
-
-
+ (void) asprintf(&afbClient->uid, "hook:%s:%d", afbClient->name, getpid());
// Get PCM arguments from asoundrc
snd_config_for_each(it, next, conf) {
snd_config_t *node = snd_config_iterator_entry(it);