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

use not well supported OSS API by default on debian8 #126

Open
thiolliere opened this issue Feb 17, 2016 · 2 comments
Open

use not well supported OSS API by default on debian8 #126

thiolliere opened this issue Feb 17, 2016 · 2 comments

Comments

@thiolliere
Copy link

Out of the box rust-portaudio used OSS API.

It result in not being able to use multiple sound sources.
(launching vlc and then my_program -> my_program failed because device busy,
launching my_program and then vlc -> vlc not able to produce sound)

building portaudio for linux state

The OSS sound API is very old and not well supported. It is recommended that you use the ALSA
sound API. The PortAudio configure script will look for the ALSA SDK. You can install the ALSA
SDK on Ubuntu using:
sudo apt-get install libasound-dev
...

So I installed libasound-dev && cargo clean && cargo run.
And now it uses ALSA API. So everything work well.

I don't know how you manage to download and build portaudio and if it is possible to install libasound-dev when it is recommended.
But if not I would advise to open a Troubleshooting section in the readme

thanks

@mitchmindtree
Copy link
Member

Thanks for the report 👍

@lpil
Copy link

lpil commented Nov 10, 2016

Handy advice, thanks. Would it be good to have this in the README?

@thiolliere thiolliere changed the title use not well suported OSS API by default on debian8 use not well supported OSS API by default on debian8 Nov 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants