mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez: disable pause on idle by default
This commit is contained in:
		
							parent
							
								
									ab5059cd07
								
							
						
					
					
						commit
						2a1875fc35
					
				
					 5 changed files with 5 additions and 1 deletions
				
			
		| 
						 | 
					@ -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)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -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
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue