mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-06 13:30:01 -05:00
module-raop-discover: Two small fixes
- Fixes comment listing the RAOP encryption types. Option 2 is not available, and 4 is /auth-setup - Fixes value for AAC-ELD codec
This commit is contained in:
parent
0501ef165a
commit
f54938d24a
1 changed files with 5 additions and 5 deletions
|
|
@ -229,12 +229,12 @@ static void pw_properties_from_avahi_string(const char *key, const char *value,
|
||||||
value = "tcp";
|
value = "tcp";
|
||||||
pw_properties_set(props, "raop.transport", value);
|
pw_properties_set(props, "raop.transport", value);
|
||||||
} else if (spa_streq(key, "et")) {
|
} else if (spa_streq(key, "et")) {
|
||||||
/* Supported encryption types:
|
/* RAOP encryption types:
|
||||||
* 0 = none,
|
* 0 = none,
|
||||||
* 1 = RSA,
|
* 1 = RSA,
|
||||||
* 2 = FairPlay,
|
* 3 = FairPlay,
|
||||||
* 3 = MFiSAP,
|
* 4 = MFiSAP (/auth-setup),
|
||||||
* 4 = FairPlay SAPv2.5. */
|
* 5 = FairPlay SAPv2.5 */
|
||||||
if (str_in_list(value, ",", "1"))
|
if (str_in_list(value, ",", "1"))
|
||||||
value = "RSA";
|
value = "RSA";
|
||||||
else if (str_in_list(value, ",", "4"))
|
else if (str_in_list(value, ",", "4"))
|
||||||
|
|
@ -254,7 +254,7 @@ static void pw_properties_from_avahi_string(const char *key, const char *value,
|
||||||
value = "ALAC";
|
value = "ALAC";
|
||||||
else if (str_in_list(value, ",", "2"))
|
else if (str_in_list(value, ",", "2"))
|
||||||
value = "AAC";
|
value = "AAC";
|
||||||
else if (str_in_list(value, ",", "2"))
|
else if (str_in_list(value, ",", "3"))
|
||||||
value = "AAC-ELD";
|
value = "AAC-ELD";
|
||||||
else
|
else
|
||||||
value = "unknown";
|
value = "unknown";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue