completely disable delayed_audio_source
Browse files
src/plugins/audio/delayed_audio_source.rs
CHANGED
@@ -74,11 +74,11 @@ fn convert_delayed_settings_to_audio_bundle(
|
|
74 |
/// Setup an audio source type for DelayedAudioSource
|
75 |
pub(super) fn plugin(app: &mut App) {
|
76 |
// app.add_audio_source::<DelayedAudioSource>()
|
77 |
-
app.add_systems(
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
);
|
84 |
}
|
|
|
74 |
/// Setup an audio source type for DelayedAudioSource
|
75 |
pub(super) fn plugin(app: &mut App) {
|
76 |
// app.add_audio_source::<DelayedAudioSource>()
|
77 |
+
// app.add_systems(
|
78 |
+
// PostUpdate,
|
79 |
+
// // bevy_audios's AudioPlaySet (sadly private) runs after
|
80 |
+
// // TransformSystem::TransformPropagate, so we run before that to ensure
|
81 |
+
// // that we're before AudioPlaySet
|
82 |
+
// convert_delayed_settings_to_audio_bundle.before(TransformSystem::TransformPropagate)
|
83 |
+
// );
|
84 |
}
|