mirror of
				https://gitlab.freedesktop.org/pipewire/pipewire.git
				synced 2025-11-03 09:01:54 -05:00 
			
		
		
		
	bluez5: deprioritize AAC-ELD since it's untested
The AAC-ELD support was not properly tested on devices. In theory it should be OK, but it's untested. Bump it down in priority so it won't be selected by default. Also log info on FDK-AAC AAC-ELD support status.
This commit is contained in:
		
							parent
							
								
									c224010773
								
							
						
					
					
						commit
						db7b764bf2
					
				
					 2 changed files with 2 additions and 1 deletions
				
			
		| 
						 | 
					@ -63,6 +63,7 @@ done:
 | 
				
			||||||
	if (aacenc)
 | 
						if (aacenc)
 | 
				
			||||||
		aacEncClose(&aacenc);
 | 
							aacEncClose(&aacenc);
 | 
				
			||||||
	checked = true;
 | 
						checked = true;
 | 
				
			||||||
 | 
						spa_log_debug(log, "FDK-AAC AAC-ELD support:%d", (int)supported);
 | 
				
			||||||
	return supported;
 | 
						return supported;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -35,7 +35,6 @@ static int codec_order(const struct media_codec *c)
 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_LDAC,
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_LDAC,
 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_APTX_HD,
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_APTX_HD,
 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_APTX,
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_APTX,
 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_AAC_ELD,
 | 
					 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_AAC,
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_AAC,
 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_LC3PLUS_HR,
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_LC3PLUS_HR,
 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_MPEG,
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_MPEG,
 | 
				
			||||||
| 
						 | 
					@ -50,6 +49,7 @@ static int codec_order(const struct media_codec *c)
 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_71,
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_71,
 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_DUPLEX,
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_DUPLEX,
 | 
				
			||||||
		SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_PRO,
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_OPUS_05_PRO,
 | 
				
			||||||
 | 
							SPA_BLUETOOTH_AUDIO_CODEC_AAC_ELD,
 | 
				
			||||||
	};
 | 
						};
 | 
				
			||||||
	size_t i;
 | 
						size_t i;
 | 
				
			||||||
	for (i = 0; i < SPA_N_ELEMENTS(order); ++i)
 | 
						for (i = 0; i < SPA_N_ELEMENTS(order); ++i)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue