mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-29 05:40:23 -04:00
sample-cache: use the sample name as unmodified fallback in the properties when playing a sample from the cache
This commit is contained in:
parent
857ff2c160
commit
3f1c90b9d7
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue