mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-31 22:25:38 -04:00
media-session: set device name
This commit is contained in:
parent
72dee1686d
commit
cff8ce8e99
1 changed files with 1 additions and 0 deletions
|
|
@ -1160,6 +1160,7 @@ static void rescan_session(struct impl *impl, struct session *sess)
|
|||
info = node->format;
|
||||
|
||||
props = pw_properties_new_dict(node->info->props);
|
||||
pw_properties_set(props, "device.name", node->info->name);
|
||||
pw_properties_setf(props, "audio-dsp.direction", "%d", sess->direction);
|
||||
pw_properties_setf(props, "audio-dsp.maxbuffer", "%ld", MAX_QUANTUM_SIZE * sizeof(float));
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue