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";
|
||||
pw_properties_set(props, "raop.transport", value);
|
||||
} else if (spa_streq(key, "et")) {
|
||||
/* Supported encryption types:
|
||||
/* RAOP encryption types:
|
||||
* 0 = none,
|
||||
* 1 = RSA,
|
||||
* 2 = FairPlay,
|
||||
* 3 = MFiSAP,
|
||||
* 4 = FairPlay SAPv2.5. */
|
||||
* 3 = FairPlay,
|
||||
* 4 = MFiSAP (/auth-setup),
|
||||
* 5 = FairPlay SAPv2.5 */
|
||||
if (str_in_list(value, ",", "1"))
|
||||
value = "RSA";
|
||||
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";
|
||||
else if (str_in_list(value, ",", "2"))
|
||||
value = "AAC";
|
||||
else if (str_in_list(value, ",", "2"))
|
||||
else if (str_in_list(value, ",", "3"))
|
||||
value = "AAC-ELD";
|
||||
else
|
||||
value = "unknown";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue