diff options
Diffstat (limited to 'src/tests/memblockq-test.c')
-rw-r--r-- | src/tests/memblockq-test.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tests/memblockq-test.c b/src/tests/memblockq-test.c index 11ac90532..a00182ad5 100644 --- a/src/tests/memblockq-test.c +++ b/src/tests/memblockq-test.c @@ -110,7 +110,7 @@ START_TEST (memblockq_test) { pa_log_set_level(PA_LOG_DEBUG); - p = pa_mempool_new(FALSE, 0); + p = pa_mempool_new(false, 0); silence.memblock = pa_memblock_new_fixed(p, (char*) "__", 2, 1); fail_unless(silence.memblock != NULL); @@ -157,45 +157,45 @@ START_TEST (memblockq_test) { ret = pa_memblockq_push(bq, &chunk4); fail_unless(ret == 0); - pa_memblockq_seek(bq, -6, 0, TRUE); + pa_memblockq_seek(bq, -6, 0, true); ret = pa_memblockq_push(bq, &chunk3); fail_unless(ret == 0); - pa_memblockq_seek(bq, -2, 0, TRUE); + pa_memblockq_seek(bq, -2, 0, true); ret = pa_memblockq_push(bq, &chunk1); fail_unless(ret == 0); - pa_memblockq_seek(bq, -10, 0, TRUE); + pa_memblockq_seek(bq, -10, 0, true); ret = pa_memblockq_push(bq, &chunk4); fail_unless(ret == 0); - pa_memblockq_seek(bq, 10, 0, TRUE); + pa_memblockq_seek(bq, 10, 0, true); ret = pa_memblockq_push(bq, &chunk1); fail_unless(ret == 0); - pa_memblockq_seek(bq, -6, 0, TRUE); + pa_memblockq_seek(bq, -6, 0, true); ret = pa_memblockq_push(bq, &chunk2); fail_unless(ret == 0); /* Test splitting */ - pa_memblockq_seek(bq, -12, 0, TRUE); + pa_memblockq_seek(bq, -12, 0, true); ret = pa_memblockq_push(bq, &chunk1); fail_unless(ret == 0); - pa_memblockq_seek(bq, 20, 0, TRUE); + pa_memblockq_seek(bq, 20, 0, true); /* Test merging */ ret = pa_memblockq_push(bq, &chunk3); fail_unless(ret == 0); - pa_memblockq_seek(bq, -2, 0, TRUE); + pa_memblockq_seek(bq, -2, 0, true); chunk3.index += 2; chunk3.length -= 2; ret = pa_memblockq_push(bq, &chunk3); fail_unless(ret == 0); - pa_memblockq_seek(bq, 30, PA_SEEK_RELATIVE, TRUE); + pa_memblockq_seek(bq, 30, PA_SEEK_RELATIVE, true); dump(bq, 0); |