Move node.pause-on-idle setting to config files

So that we can configure it.
Add some more docs to the config file
This commit is contained in:
Wim Taymans 2021-02-08 17:19:47 +01:00
parent 0f028dab40
commit ecd1d3e1d7
9 changed files with 114 additions and 42 deletions

View file

@ -823,7 +823,6 @@ static const struct spa_dict_item node_info_items[] = {
{ SPA_KEY_MEDIA_CLASS, "Audio/Sink" },
{ SPA_KEY_NODE_DRIVER, "true" },
{ SPA_KEY_NODE_LATENCY, SPA_STRINGIFY(MIN_LATENCY)"/48000" },
{ SPA_KEY_NODE_PAUSE_ON_IDLE, "false" },
};
static void emit_node_info(struct impl *this, bool full)

View file

@ -704,7 +704,6 @@ static void emit_node_info(struct impl *this, bool full)
{ SPA_KEY_DEVICE_API, "bluez5" },
{ SPA_KEY_MEDIA_CLASS, "Stream/Output/Audio" },
{ 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") },
};