Skip to content
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 by Bors] - Basic spatial audio #6028

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update example doc
  • Loading branch information
mockersf committed Feb 17, 2023
commit e1c10f15ac5c39fc0d79744d8b8ddaaddad6ba99
1 change: 1 addition & 0 deletions crates/bevy_audio/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ pub mod prelude {
#[doc(hidden)]
pub use crate::{
Audio, AudioOutput, AudioSink, AudioSinkExt, AudioSource, Decodable, PlaybackSettings,
SpatialAudioSink,
};
}

Expand Down
5 changes: 2 additions & 3 deletions examples/audio/spatial_audio.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
//! This example illustrates how to load and play an audio file, and control how it's played.

use bevy::{audio::SpatialAudioSink, prelude::*};
//! This example illustrates how to load and play an audio file, and control where the sounds seems to come from.
use bevy::prelude::*;

fn main() {
App::new()
Expand Down