summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2019-12-17 15:08:39 +0100
committerWim Taymans <wtaymans@redhat.com>2019-12-17 15:08:39 +0100
commit58a7e18ed5d40338df6e4afbefccdb5356641bb3 (patch)
treec10b4d4d238a68dabfd58925592a066526316583
parent096db6d87de7ed3aecb698150f247ef1e2a6fcb3 (diff)
audioadapter: set data flags
-rw-r--r--spa/plugins/audioconvert/audioadapter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spa/plugins/audioconvert/audioadapter.c b/spa/plugins/audioconvert/audioadapter.c
index 4b3a1d23..07c0ea04 100644
--- a/spa/plugins/audioconvert/audioadapter.c
+++ b/spa/plugins/audioconvert/audioadapter.c
@@ -309,7 +309,7 @@ static int negotiate_buffers(struct impl *this)
aligns = alloca(sizeof(uint32_t) * blocks);
for (i = 0; i < blocks; i++) {
datas[i].type = SPA_DATA_MemPtr;
- datas[i].flags = SPA_DATA_FLAG_DYNAMIC;
+ datas[i].flags = SPA_DATA_FLAG_READWRITE | SPA_DATA_FLAG_DYNAMIC;
datas[i].maxsize = size;
aligns[i] = align;
}