mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-04 13:30:12 -05:00
module-roc: fix properties
Actually set the right properties on the source and sink. Not quite right because the pulseaudio ROC has a sink-input or a playback stream in pipewire. See #1538
This commit is contained in:
parent
9f57341699
commit
d34c4facc0
3 changed files with 50 additions and 20 deletions
|
|
@ -157,8 +157,8 @@ struct module *create_module_roc_source(struct impl *impl, const char *argument)
|
|||
}
|
||||
|
||||
if ((str = pw_properties_get(props, PW_KEY_MEDIA_CLASS)) == NULL) {
|
||||
pw_properties_set(props, PW_KEY_MEDIA_CLASS, "Audio/Sink");
|
||||
pw_properties_set(source_props, PW_KEY_MEDIA_CLASS, "Audio/Sink");
|
||||
pw_properties_set(props, PW_KEY_MEDIA_CLASS, "Audio/Source");
|
||||
pw_properties_set(source_props, PW_KEY_MEDIA_CLASS, "Audio/Source");
|
||||
}
|
||||
|
||||
if ((str = pw_properties_get(props, "local_ip")) != NULL) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue