On 2014-05-26 22:18, Peter Meerwald wrote: > ON TOP OF DAVID'S SRCHANNEL PATCHES POSTED APRIL 29, 2014 Thanks, picked up. I'll post it as part of patches in the next revision. > > 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); > -- David Henningsson, Canonical Ltd. https://launchpad.net/~diwic