-
-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- `src/pipewire/thread.c`: patch to support use of custom `create_function` added in https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/16f629d2245e88da317c094d1411ed83c1b41af9 Signed-off-by: Aditya Alok <[email protected]>
- Loading branch information
1 parent
3f58724
commit 1be03a3
Showing
3 changed files
with
40 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
--- a/src/modules/module-rtp-sink.c | ||
+++ b/src/modules/module-rtp-sink.c | ||
@@ -668,6 +668,10 @@ static int make_socket(struct sockaddr_s | ||
--- pipewire-1.2.7/src/modules/module-rtp-sink.c 2024-11-26 14:37:54.000000000 +0530 | ||
+++ pipewire-1.2.7.mod/src/modules/module-rtp-sink.c 2025-01-08 16:46:26.537354237 +0530 | ||
@@ -258,6 +258,10 @@ | ||
pw_log_warn("setsockopt(SO_PRIORITY) failed: %m"); | ||
#endif | ||
if (dscp > 0) { | ||
+#ifdef __ANDROID__ | ||
+#define IPTOS_DSCP_MASK 0xfc | ||
+#define IPTOS_DSCP(x) ((x) & IPTOS_DSCP_MASK) | ||
+#endif | ||
+ #ifdef __ANDROID__ | ||
+ #define IPTOS_DSCP_MASK 0xfc | ||
+ #define IPTOS_DSCP(x) ((x) & IPTOS_DSCP_MASK) | ||
+ #endif | ||
val = IPTOS_DSCP(dscp << 2); | ||
if (setsockopt(fd, IPPROTO_IP, IP_TOS, &val, sizeof(val)) < 0) | ||
pw_log_warn("setsockopt(IP_TOS) failed: %m"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters