meta-agl-core: remove IMAGE_FSTYPES override
[AGL/meta-agl.git] / meta-pipewire / recipes-multimedia / pipewire / pipewire / 0004-audioconvert-always-assume-that-output-ports-are-NOT.patch
1 From ce155eb0073fba84556782633f79bb7d03492c07 Mon Sep 17 00:00:00 2001
2 From: George Kiagiadakis <george.kiagiadakis@collabora.com>
3 Date: Wed, 2 Oct 2019 21:40:34 +0300
4 Subject: [PATCH] audioconvert: always assume that output ports are NOT monitor
5  ports
6
7 Otherwise, when we setup audioconvert in merge+split mode,
8 it assumes that the splitter's ports are monitor ports and
9 belong to the merger.
10
11 Upstream-Status: Inappropriate [workaround]
12 ---
13  spa/plugins/audioconvert/audioconvert.c | 4 ++++
14  1 file changed, 4 insertions(+)
15
16 diff --git a/spa/plugins/audioconvert/audioconvert.c b/spa/plugins/audioconvert/audioconvert.c
17 index 74a62a35..72da37d1 100644
18 --- a/spa/plugins/audioconvert/audioconvert.c
19 +++ b/spa/plugins/audioconvert/audioconvert.c
20 @@ -113,8 +113,12 @@ struct impl {
21         unsigned int add_listener:1;
22  };
23  
24 +#if 0
25  #define IS_MONITOR_PORT(this,dir,port_id) (dir == SPA_DIRECTION_OUTPUT && port_id > 0 &&       \
26                 this->mode[SPA_DIRECTION_INPUT] == SPA_PARAM_PORT_CONFIG_MODE_dsp)
27 +#else
28 +#define IS_MONITOR_PORT(this,dir,port_id) (false)
29 +#endif
30  
31  static void emit_node_info(struct impl *this, bool full)
32  {
33 -- 
34 2.24.0
35