Re: [LAD] [LAU] Simple, easy multithreaded circular buffer library for Linux?

From: Joern Nettingsmeier <nettings@email-addr-hidden-hochschule.de>
Date: Fri Oct 17 2008 - 18:42:29 EEST

Olivier Guilyardi wrote:

> Here's how to run the test:
>
> svn co http://svn.samalyse.com/misc/rbtest
> cd rbtest
> make test

on a pentium-m 32bit notebook:

nettings@email-addr-hidden:/local/rbtest> make test
gcc -Wall -I. -I./jack -lpthread -o test-int-array-jack \
                test-int-array.c jack/ringbuffer.c
gcc -Wall -I. -I./portaudio -lpthread -o test-int-array-portaudio \
                test-int-array.c portaudio/ringbuffer.c
portaudio/pa_ringbuffer.c
gcc -Wall -I. -I./portaudio -lpthread -o
test-int-array-portaudio-nobarrier \
                -DNO_MEMORY_BARRIER \
                test-int-array.c portaudio/ringbuffer.c
portaudio/pa_ringbuffer.c
./alltests.sh
Starting ringbuffer tests (buffer size: 512)

=== Jack ringbuffer test ===
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
reader started on cpu 0
writer started on cpu: 0
Success

=== Portaudio ringbuffer test ===
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
reader started on cpu 0
writer started on cpu: 0
Success

=== Portaudio ringbuffer test (without memory barriers) ===
starting ringbuffer stress test (2 minutes max)
buffer size (bytes): 512
array size (bytes): 256
reader started on cpu 0
writer started on cpu: 0
Success
nettings@email-addr-hidden:/local/rbtest>

-- 
jörn nettingsmeier
home://germany/45128 essen/lortzingstr. 11/
http://spunk.dnsalias.org
phone://+49/201/491621
Kurt is up in Heaven now.
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/mailman/listinfo/linux-audio-dev
Received on Fri Oct 17 20:15:07 2008

This archive was generated by hypermail 2.1.8 : Fri Oct 17 2008 - 20:15:08 EEST