bluez: disable pause on idle by default

This commit is contained in:
Wim Taymans 2021-01-29 15:37:32 +01:00
parent ab5059cd07
commit 2a1875fc35
5 changed files with 5 additions and 1 deletions

View file

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

View file

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

View file

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

View file

@ -673,6 +673,7 @@ static const struct spa_dict_item node_info_items[] = {
{ SPA_KEY_DEVICE_API, "bluez5" }, { SPA_KEY_DEVICE_API, "bluez5" },
{ SPA_KEY_MEDIA_CLASS, "Audio/Source" }, { SPA_KEY_MEDIA_CLASS, "Audio/Source" },
{ SPA_KEY_NODE_DRIVER, "true" }, { SPA_KEY_NODE_DRIVER, "true" },
{ SPA_KEY_NODE_PAUSE_ON_IDLE, "false" },
}; };
static void emit_node_info(struct impl *this, bool full) static void emit_node_info(struct impl *this, bool full)

View file

@ -41,7 +41,7 @@ rules = [
#node.nick = null #node.nick = null
#priority.driver = 100 #priority.driver = 100
#priority.session = 100 #priority.session = 100
#node.pause-on-idle = true #node.pause-on-idle = false
#resample.quality = 4 #resample.quality = 4
#channelmix.normalize = false #channelmix.normalize = false
#channelmix.mix-lfe = false #channelmix.mix-lfe = false