Blame 0053-sample-cache-use-the-sample-name-as-unmodified-fallb.patch
|
|
4fd38b9 |
From 180589511dab1b5d0388b58b41a0e9843ea1a35a Mon Sep 17 00:00:00 2001
|
|
|
4fd38b9 |
From: Lennart Poettering <lennart@poettering.net>
|
|
|
4fd38b9 |
Date: Sun, 21 Feb 2010 16:23:25 +0100
|
|
|
4fd38b9 |
Subject: [PATCH 53/62] sample-cache: use the sample name as unmodified fallback in the properties when playing a sample from the cache
|
|
|
4fd38b9 |
|
|
|
4fd38b9 |
---
|
|
|
4fd38b9 |
src/pulsecore/core-scache.c | 3 ++-
|
|
|
4fd38b9 |
1 files changed, 2 insertions(+), 1 deletions(-)
|
|
|
4fd38b9 |
|
|
|
4fd38b9 |
diff --git a/src/pulsecore/core-scache.c b/src/pulsecore/core-scache.c
|
|
|
4fd38b9 |
index 1fb81d0..95aaa10 100644
|
|
|
4fd38b9 |
--- a/src/pulsecore/core-scache.c
|
|
|
4fd38b9 |
+++ b/src/pulsecore/core-scache.c
|
|
|
4fd38b9 |
@@ -310,7 +310,8 @@ int pa_scache_play_item(pa_core *c, const char *name, pa_sink *sink, pa_volume_t
|
|
|
4fd38b9 |
return -1;
|
|
|
4fd38b9 |
|
|
|
4fd38b9 |
merged = pa_proplist_new();
|
|
|
4fd38b9 |
- pa_proplist_setf(merged, PA_PROP_MEDIA_NAME, "Sample %s", name);
|
|
|
4fd38b9 |
+ pa_proplist_sets(merged, PA_PROP_MEDIA_NAME, name);
|
|
|
4fd38b9 |
+ pa_proplist_sets(merged, PA_PROP_EVENT_ID, name);
|
|
|
4fd38b9 |
|
|
|
4fd38b9 |
if (e->lazy && !e->memchunk.memblock) {
|
|
|
4fd38b9 |
pa_channel_map old_channel_map = e->channel_map;
|
|
|
4fd38b9 |
--
|
|
|
4fd38b9 |
1.7.0
|
|
|
4fd38b9 |
|