[pulseaudio-discuss] [PATCH 07/12] tests: Adapt memblock-test to changed pa_memimport_get()
David Henningsson
david.henningsson at canonical.com
Fri May 30 04:59:26 PDT 2014
From: Peter Meerwald <pmeerw at pmeerw.net>
patch 'memblock, pstream: Allow send/receive of remote writable memblocks'
adds an extra parameter to pa_memimport_get()
change test program accordingly
Signed-off-by: Peter Meerwald <pmeerw at pmeerw.net>
Cc: David Henningsson <david.henningsson at canonical.com>
---
src/tests/memblock-test.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/tests/memblock-test.c b/src/tests/memblock-test.c
index d46da6c..9581daa 100644
--- a/src/tests/memblock-test.c
+++ b/src/tests/memblock-test.c
@@ -130,7 +130,7 @@ START_TEST (memblock_test) {
pa_log("A: Memory block exported as %u", id);
- mb_b = pa_memimport_get(import_b, id, shm_id, offset, size);
+ mb_b = pa_memimport_get(import_b, id, shm_id, offset, size, false);
fail_unless(mb_b != NULL);
r = pa_memexport_put(export_b, mb_b, &id, &shm_id, &offset, &size);
fail_unless(r >= 0);
@@ -139,7 +139,7 @@ START_TEST (memblock_test) {
pa_log("B: Memory block exported as %u", id);
- mb_c = pa_memimport_get(import_c, id, shm_id, offset, size);
+ mb_c = pa_memimport_get(import_c, id, shm_id, offset, size, false);
fail_unless(mb_c != NULL);
x = pa_memblock_acquire(mb_c);
pa_log_debug("1 data=%s", x);
--
1.9.1
More information about the pulseaudio-discuss
mailing list