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

Support foreign OS audio APIs when running a Windows build of PortAudio under e.g. Wine #929

Open
dechamps opened this issue Jun 11, 2024 · 1 comment
Labels
enhancement New feature or request P3 Priority: Normal

Comments

@dechamps
Copy link
Contributor

In dechamps/FlexASIO#236 I received a feature request for my app (FlexASIO, which really just uses PortAudio) to support native Linux/Mac audio APIs when running the Windows build of PortAudio on these OSes. Of course this necessarily implies the code is running under an emulation layer such as Wine.

This may seem like an odd thing to do, but it arguably could make sense in some contrived scenarios - the idea is a given application may only be available on Windows, but if it uses PortAudio (directly, or indirectly though something like FlexASIO), then it would still be possible to use native Linux/Mac native audio APIs within that application.

I'm honestly not sure how messy this would be to implement. I'm guessing it would somehow involve making it possible to link a Windows PortAudio build to Linux/Mac audio APIs, which may involve build system and ABI heroics. I'm not sure the extra maintenance burden in keeping this working would be justified for such a contrived use case.

Be that as it may, I'm opening this FR for discussion in case people have opinions on this.

@RossBencina
Copy link
Collaborator

Seems like it would be nice to have but I have no idea what is involved in implementing it.

@RossBencina RossBencina added the P3 Priority: Normal label Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request P3 Priority: Normal
Projects
None yet
Development

No branches or pull requests

2 participants