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

Bring the compatibility methods from AudioDriverWASAPI into AudioDriver #8815

Open
kus04e4ek opened this issue Jan 6, 2024 · 0 comments · May be fixed by godotengine/godot#90013
Open

Bring the compatibility methods from AudioDriverWASAPI into AudioDriver #8815

kus04e4ek opened this issue Jan 6, 2024 · 0 comments · May be fixed by godotengine/godot#90013

Comments

@kus04e4ek
Copy link

kus04e4ek commented Jan 6, 2024

Describe the project you are working on

Oboe AudioDriver

Describe the problem or limitation you are having in your project

Achieving the least possible latency and not wasting too much space on avoidable allocations is kinda impossible without writing the compatibility methods that would transform data from device's format to Godot's format or the other way around.

Describe the feature / enhancement and how it helps to overcome the problem or limitation

All of these methods are already written in AudioDriverWASAPI:

  • Downmixing output;
  • Handling arbitrary amount of input channels;
  • Arbitrary device audio format.

Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams

It's just pretty much copy-paste process.

If this enhancement will not be used often, can it be worked around with a few lines of script?

Can't be codded in a few lines of script and will just repeat already written code.

Is there a reason why this should be core and not an add-on in the asset library?

Can't be add-on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants