Giter VIP home page Giter VIP logo

Comments (7)

GoogleCodeExporter avatar GoogleCodeExporter commented on September 13, 2024
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 [email protected] on 19 Apr 2013 at 9:38

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 13, 2024
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 [email protected] on 13 Mar 2014 at 9:38

Attachments:

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 13, 2024
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 [email protected] on 15 Mar 2014 at 4:21

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 13, 2024
Works

Original comment by [email protected] on 15 Mar 2014 at 8:19

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 13, 2024
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 [email protected] on 17 Mar 2014 at 12:26

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 13, 2024
Its intended that you build with:

gmake -f Makefile.freebsd

Should work from the git version without modification in this case?

Original comment by [email protected] on 17 Mar 2014 at 9:23

from squeezelite.

GoogleCodeExporter avatar GoogleCodeExporter commented on September 13, 2024

Original comment by [email protected] on 9 Aug 2014 at 9:41

  • Changed state: Fixed

from squeezelite.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.