Skip to content

requirements: support embedded targets #10

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

Merged
merged 3 commits into from
Apr 7, 2025
Merged

requirements: support embedded targets #10

merged 3 commits into from
Apr 7, 2025

Conversation

dvdsk
Copy link
Member

@dvdsk dvdsk commented Apr 2, 2025

See also the discussion here: #9

Few notes from me:

  • This need is currently fulfilled by https://github.com/10buttons/awedio
  • It has never seriously been requested from Rodio (except maybe this)
  • Once hardware get fast enough to support more complex audio operations it can generally run an OS & do audio.

@CorvusPrudens
Copy link

Maybe a more actionable goal that's highly correlated would be no_std support. As I mentioned here, no_std support opens the door to all sorts of platform support without requiring too much work from authors.

Significant parts of Bevy already support no_std. In fact, one contributor has got the engine running on a GameBoy. Now, audio engines won't be running on a GameBoy, but I frequently work with microcontrollers that have the capability.

requirements.md Outdated
Comment on lines 84 to 85
- Supports 32 bit floating points.
- Has 32 bit float atomics.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

With libm and portable-atomic, I'd actually say these requirements can be relaxed without sacrificing the internal development experience.

I'd say the "hard" requirement should be no_std support (not necessarily full functionality), but leave it as an exercise for the reader how to actually make their weird platform work.

This is a similar approach to how wgpu is going for no_std support; provide both sides of a public API.

@dvdsk dvdsk merged commit 6d6c4c5 into main Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants