bluez5: Clean up ASHA implementation

This commit is contained in:
Sanchayan Maity 2025-01-07 13:27:56 +05:30 committed by Wim Taymans
parent 13c026417b
commit e83f01a33b
2 changed files with 35 additions and 22 deletions

View file

@ -1114,7 +1114,7 @@ static int emit_nodes(struct impl *this)
t = find_transport(this, SPA_BT_PROFILE_ASHA_SINK);
if (t) {
this->props.codec = t->media_codec->id;
emit_node(this, t, DEVICE_ID_SOURCE, SPA_NAME_API_BLUEZ5_MEDIA_SINK, false);
emit_node(this, t, DEVICE_ID_SINK, SPA_NAME_API_BLUEZ5_MEDIA_SINK, false);
} else {
spa_log_warn(this->log, "Unable to find transport for ASHA");
}