port: use right properties

Use format.dsp as a key to mark the dsp format on a port
Use audio.channel as the key to set the audio channel on a port
This commit is contained in:
Wim Taymans 2019-05-24 16:14:19 +02:00
parent 3ad73f0532
commit a680f434d2
7 changed files with 8 additions and 9 deletions

View file

@ -497,7 +497,7 @@ handle_node(struct impl *impl, uint32_t id, uint32_t parent_id,
spa_list_append(&impl->node_list, &node->l);
node->type = NODE_TYPE_UNKNOWN;
pw_log_debug(NAME" %p: node media.class %s", impl, media_class);
pw_log_debug(NAME" %p: node "PW_KEY_MEDIA_CLASS" %s", impl, media_class);
if (media_class == NULL)
return 0;