a2dp: small cleanups

This commit is contained in:
Wim Taymans 2021-02-08 10:24:27 +01:00
parent 37d8cbd5d6
commit e3d19e5602
2 changed files with 4 additions and 4 deletions

View file

@ -703,7 +703,7 @@ static void emit_node_info(struct impl *this, bool full)
struct spa_dict_item node_info_items[] = {
{ SPA_KEY_DEVICE_API, "bluez5" },
{ SPA_KEY_MEDIA_CLASS, "Stream/Output/Audio" },
{ SPA_KEY_NODE_LATENCY, "512/48000" },
{ SPA_KEY_NODE_LATENCY, SPA_STRINGIFY(MIN_LATENCY)"/48000" },
{ SPA_KEY_NODE_PAUSE_ON_IDLE, "false" },
{ "media.name", ((this->transport && this->transport->device->name) ?
this->transport->device->name : "A2DP") },