Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sound output on Mac OS X #13

Closed
forslund opened this issue Feb 25, 2016 · 9 comments
Closed

Sound output on Mac OS X #13

forslund opened this issue Feb 25, 2016 · 9 comments

Comments

@forslund
Copy link
Collaborator

The engine works on Mac OS X but cannot generate sound output (only file output is possible). Many users would be grateful if also the Mac could speak.

@zeehio
Copy link
Contributor

zeehio commented Feb 25, 2016

I will send a patch in 5 hours with Mac OS X support via the PortAudio library. Would you be able to test it?

@siavasht
Copy link

I will be able to test the patch if you send it before midnight (CET)

@zeehio
Copy link
Contributor

zeehio commented Feb 25, 2016

I was too late for you @siavasht. Will you be able to test it another day? 😅

Thanks!

@siavasht
Copy link

It might be in a couple of days but I will test again as soon as I can get my hands on a Macbook 😄

@Dabuk
Copy link

Dabuk commented Feb 29, 2016

Hey, I tried this, the problem seems to persist. Is any extra command line arguement necessary?
Also the libasound2-dev is not installed on my mac. Is it necessary?

@forslund
Copy link
Collaborator Author

You'll need portaudio. If you can't get it from homebrew there arebuild instructions here. it should be be using the native sound system so libasound2-dev should not be needed.

@forslund
Copy link
Collaborator Author

If it still doesn't work can you see if you can provide the full path to portaudio.h?

@zeehio
Copy link
Contributor

zeehio commented Feb 29, 2016

In order to force the use of the portaudio module, use:

./configure --with-audio=portaudio
make

You will need the portaudio library, that can be installed using brew:

Install brew:

/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

Install portaudio (requires brew):

brew install portaudio

@zeehio
Copy link
Contributor

zeehio commented Mar 30, 2016

Mac OS X now has audio support through PortAudio. The README.md has updated instructions on how to build it and install it. Merged in #14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants