Add 192000 to supported sample rates for chromecast
authorMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 16 Jan 2025 23:02:37 +0000 (00:02 +0100)
committerMarcel van der Veldt <m.vanderveldt@outlook.com>
Thu, 16 Jan 2025 23:02:37 +0000 (00:02 +0100)
According to a community member that should work

music_assistant/providers/chromecast/__init__.py

index dd8c334b07b9bacfc5f228ec2752e1d890b515a6..12313a4b5821085b137e0930799cd269fb81f101 100644 (file)
@@ -56,7 +56,7 @@ PLAYER_CONFIG_ENTRIES = (
 # originally/officially cast supports 96k sample rate (even for groups)
 # but it seems a (recent?) update broke this ?!
 # For now only set safe default values and let the user try out higher values
-CONF_ENTRY_SAMPLE_RATES_CAST = create_sample_rates_config_entry(96000, 24, 48000, 24)
+CONF_ENTRY_SAMPLE_RATES_CAST = create_sample_rates_config_entry(192000, 24, 48000, 24)
 CONF_ENTRY_SAMPLE_RATES_CAST_GROUP = create_sample_rates_config_entry(96000, 24, 44100, 16)