Closed GoogleCodeExporter closed 8 years ago
I don't know because I don't run FreeBSD, but it builds with port audio on OSX,
so its possible it may build ok with some tweeks to the makefile. It will need
someone familar with compiling on FreeBSD to do this though.
Original comment by trio...@btinternet.com
on 19 Apr 2013 at 9:38
Here's a patch to get it to work on FreeBSD 9 with PortAudio.
The main issue was that locking the audio buffer mutex both in pa_callback()
and before calling _pa_open() doesn't work on FreeBSD, because Pa_OpenStream()
ends up calling pa_callback() in a different thread before returning, which
causes a deadlock. I've "fixed" it by removing the lock around _pa_open(), but
I don't know the code base well enough to determine whether or not that can
cause problems.
Original comment by znxfire...@gmail.com
on 13 Mar 2014 at 9:38
Attachments:
Thanks - I've commited a variant of this to master. Please can you check this
works for you. The makefile will need turning to your locations for portaudio.
Original comment by trio...@btinternet.com
on 15 Mar 2014 at 4:21
Works
Original comment by haar...@gmail.com
on 15 Mar 2014 at 8:19
It compiled, but i had to add the following directly to the Makefile.
CPPFLAGS = -I/usr/local/include -I/usr/local/include/portaudio2
LDFLAGS = -L/usr/local/lib -L/usr/local/lib/portaudio2 -lportaudio -lpthread -lm
Is something suppose to reference the Makefile.freebsd?
Other than that it compiled and is working. Still more playing to be done with
it.
Original comment by iffla...@gmail.com
on 17 Mar 2014 at 12:26
Its intended that you build with:
gmake -f Makefile.freebsd
Should work from the git version without modification in this case?
Original comment by trio...@btinternet.com
on 17 Mar 2014 at 9:23
Original comment by trio...@btinternet.com
on 9 Aug 2014 at 9:41
Original issue reported on code.google.com by
iffla...@gmail.com
on 18 Apr 2013 at 9:48