Fix linux build, add a portaudio and a pulseaudio backend #4
Fix linux build, add a portaudio and a pulseaudio backend #4jcelerier wants to merge 3 commits intostdcpp-audio:masterfrom
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 :