Skip to content

Indicate AudioSource's bytes field must follow a supported audio file format #6299

@harudagondi

Description

@harudagondi

How can Bevy's documentation be improved?

Unlike bevy_kira_audio and bevy_oddio, where you have to manually convert an audio file to a vector of frames (a frame is usually [f32; 2]), the bytes field of AudioSource must follow a supported file format (internally, wav, vorbis, flac, mp3 or any audio file supported by symphonia).

This is currently not yet indicated in the documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-AudioSounds playback and modificationC-DocsAn addition or correction to our documentationD-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