Please expose implementations of libraries so that they can be extended
Posted: Tue Feb 11, 2025 1:36 pm
One issue I keep running into with PB's implementations of libraries of late is that often times, the implementation doesn't include features of the library I need, or wraps them in the way that doesn't work for me, which is understandable, but the bigger issue is that I can't seem to access the internal API so that I can extend the existing implementation in order to do what I need.
E.g., when PB used Direct Sound for the sound library, I could do something like
And then use my own pan/volume scailing that worked better for me.
However, I don't see a way to do this with the existing miniaudio implementation without interfacing with miniaudio directly and completely replacing PB sound library calls with raw miniaudio calls, and the same for WebView2.
I have tried using GadgetID and IsGadget with my WebViewGadget and using it with ICoreWebView2/ICoreWebView2Controller, but that doesn't seem to work.
I feel like it would be very much appreciated and save a lot of headaches if implementations were exposed in such a way that the internal API's could be accessed and worked without rewriting library wrappers all together.
Thanks.
E.g., when PB used Direct Sound for the sound library, I could do something like
Code: Select all
define *ds.IDirectSoundBuffer=PeekL(IsSound(0))
However, I don't see a way to do this with the existing miniaudio implementation without interfacing with miniaudio directly and completely replacing PB sound library calls with raw miniaudio calls, and the same for WebView2.
I have tried using GadgetID and IsGadget with my WebViewGadget and using it with ICoreWebView2/ICoreWebView2Controller, but that doesn't seem to work.
I feel like it would be very much appreciated and save a lot of headaches if implementations were exposed in such a way that the internal API's could be accessed and worked without rewriting library wrappers all together.
Thanks.