-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Expose symphonia
feature of rodio
for bevy_audio
#6301
Comments
Fully on board. Should be a simple PR. For enabling audio formats, probably follow what was done for the various image and asset formats? |
Please keep said feature optional or at most conditional on other features. To take a page out of Unity and Unreal's books, their built games only support a small list of codecs and containers at runtime, but support transcoding many more in the editor on asset import. This avoids needing to ship the equivalent of ffmpeg with every game download. |
Yeah I'm just asking for a Cargo feature reexport to For an example see #5857, where I reexported the mint feature of glam in bevy_math. |
Hi. Is anyone working on this? Can I help on this? |
As far as I am aware, no one is working on this right now. =) If you're interested in helping, you should check out rodio's features first. |
Hi, I've went through the rodio's features and they have separate features for different audio formats. I think it's better to have control of what audio formats to support instead of |
…ne#6388) # Objective Fix bevyengine#6301 ## Solution Add new features in `bevy_audio` to use `symphonia` sound format from `rodio` Also add in `bevy`
…ne#6388) # Objective Fix bevyengine#6301 ## Solution Add new features in `bevy_audio` to use `symphonia` sound format from `rodio` Also add in `bevy`
…ne#6388) # Objective Fix bevyengine#6301 ## Solution Add new features in `bevy_audio` to use `symphonia` sound format from `rodio` Also add in `bevy`
What problem does this solve or what need does it fill?
Related to #6299, bevy_audio is limited to
wav
,ogg
,flac
, ormp3
audio formats. However,rodio
have thesymphonia
feature which enables file formats and codecs such as:What solution would you like?
Add a new feature in
bevy_audio
and possibly inbevy
as well that enables this featureWhat alternative(s) have you considered?
Implement your own
Decodable
type that uses theDecoder
fromrodio
that has thesymphonia
feature enabled. (I don't think this works)Additional context
#3145 is a tangentially related issue that discusses the viability of
symphonia
as a "backend". (symphonia
is a decoder and a demuxing framework, not an audio backend)The text was updated successfully, but these errors were encountered: