You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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)
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
The text was updated successfully, but these errors were encountered:
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
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
The text was updated successfully, but these errors were encountered: