mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-02 09:01:50 -05:00
pass spa_dict around as config
Don't pass pw_properties around when we simply need to pass around config info, only use pw_properties when used to construct an object that keeps the properties.
This commit is contained in:
parent
3eec3f5abf
commit
1317ca140c
20 changed files with 73 additions and 68 deletions
|
|
@ -583,8 +583,7 @@ static struct device *alsa_create_device(struct impl *impl, uint32_t id,
|
|||
update_device_props(device);
|
||||
|
||||
device->sdevice = sm_media_session_export_device(impl->session,
|
||||
pw_properties_copy(device->props),
|
||||
device->device);
|
||||
&device->props->dict, device->device);
|
||||
if (device->sdevice == NULL) {
|
||||
res = -errno;
|
||||
goto clean_device;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue