diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-02-21 16:23:25 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-02-21 17:48:50 +0100 |
commit | 3f1c90b9d7fa434ae90b45018255d086b0fa6e8a (patch) | |
tree | 9a954c5ff49ce2bdfc0f6862de9c5ac7843bf55b /src/pulsecore | |
parent | 857ff2c160c19699ecc541767ac443fa61456cb5 (diff) |
sample-cache: use the sample name as unmodified fallback in the properties when playing a sample from the cache
Diffstat (limited to 'src/pulsecore')
-rw-r--r-- | src/pulsecore/core-scache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pulsecore/core-scache.c b/src/pulsecore/core-scache.c index 1fb81d0d..95aaa108 100644 --- a/src/pulsecore/core-scache.c +++ b/src/pulsecore/core-scache.c @@ -310,7 +310,8 @@ int pa_scache_play_item(pa_core *c, const char *name, pa_sink *sink, pa_volume_t return -1; merged = pa_proplist_new(); - pa_proplist_setf(merged, PA_PROP_MEDIA_NAME, "Sample %s", name); + pa_proplist_sets(merged, PA_PROP_MEDIA_NAME, name); + pa_proplist_sets(merged, PA_PROP_EVENT_ID, name); if (e->lazy && !e->memchunk.memblock) { pa_channel_map old_channel_map = e->channel_map; |