-
Notifications
You must be signed in to change notification settings - Fork 33
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
Fix linux build, add a portaudio and a pulseaudio backend #4
base: master
Are you sure you want to change the base?
Conversation
Here are so far my comments on the whole endeavour : Dynamic libraries
Graph APIs
Contexts
Multiple APIs
Likewise for ASIO and WASAPI on windows. Error handlingThis is targeting at least C++2x, why not using exceptions / outcome / etc rather than returning bools ? Other remarks
|
Totally agree about returning bools. I've voiced some of design comments here: stdcpp-audio/proposals#1 |
It looks like there is r2 of the paper somewhere private because API changed significantly. Driver is no longer a template parameter. |
yep, I'll try to update it this week |
Really good point: C++ needs standardized support for shared libraries first. Aim for C++29, at the time there is only one executable format. As for now, different formats have different defaults for symbol visibility. Side-note: The same holds true for graphics. |
This is solved in OpenCL using "platforms". Platform list is generated at runtime. I hope R3 of this paper will return the concept of drivers and will change it so drivers are loaded at runtime. |
This gives a more complete implementation to null backend and adds two backends :