Skip to content

Expose symphonia feature of rodio for bevy_audio #6301

@harudagondi

Description

@harudagondi

What problem does this solve or what need does it fill?

Related to #6299, bevy_audio is limited to wav, ogg, flac, or mp3 audio formats. However, rodio have the symphonia feature which enables file formats and codecs such as:

  • ISO/MP4
  • MKV/WebM
  • OGG
  • Wave
  • AAC-LC
  • ALAC
  • FLAC
  • MP3
  • PCM
  • Vorbis

What solution would you like?

Add a new feature in bevy_audio and possibly in bevy as well that enables this feature

What alternative(s) have you considered?

Implement your own Decodable type that uses the Decoder from rodio that has the symphonia 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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AudioSounds playback and modificationC-FeatureA new feature, making something new possibleD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions