Skip to content

Commit 7111175

Browse files
committed
Updates AudioLoader docs
1 parent deeebbe commit 7111175

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

crates/bevy_audio/src/audio_source.rs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ impl AsRef<[u8]> for AudioSource {
3030
///
3131
/// This asset loader supports different audio formats based on the enable Bevy features.
3232
/// The feature `bevy/vorbis` enables loading from `.ogg` files and is enabled by default.
33-
/// Other file endings can be loaded from with additional features:
34-
/// `.mp3` with `bevy/mp3` or `bevy/symphonia-mp3`
35-
/// `.flac` with `bevy/flac` or `bevy/symphonia-flac`
36-
/// `.wav` with `bevy/wav` or `bevy/symphonia-wav`
37-
/// The `bevy/symphonia-all` feature will enable all file endings.
33+
/// Other file extensions can be loaded from with additional features:
34+
/// `.mp3` with `bevy/mp3` or `bevy/fallback-mp3`
35+
/// `.flac` with `bevy/flac` or `bevy/fallback-flac`
36+
/// `.wav` with `bevy/wav` or `bevy/fallback-wav`
37+
/// The `bevy/audio-all` feature will enable all file extensions.
3838
#[derive(Default)]
3939
pub struct AudioLoader;
4040

0 commit comments

Comments
 (0)