bevy/examples/audio
Piper d82d6ff4e7
fix spatial audio examples (#15863)
# Objective

- Fixes #15837 

## Solution

- Change `Emitter` components to use `Stopwatch` to allow the time to be
tracked independently.

## Testing

- Changes were tested. 
- Run either the `spatial_audio_2d` or `spatial_audio_3d` example to
test

Co-authored-by: François Mockers <mockersf@gmail.com>
2024-10-13 17:05:20 +00:00
..
audio_control.rs Migrate audio to required components (#15573) 2024-10-01 22:43:29 +00:00
audio.rs Migrate audio to required components (#15573) 2024-10-01 22:43:29 +00:00
decodable.rs Migrate audio to required components (#15573) 2024-10-01 22:43:29 +00:00
pitch.rs Migrate audio to required components (#15573) 2024-10-01 22:43:29 +00:00
soundtrack.rs Migrate audio to required components (#15573) 2024-10-01 22:43:29 +00:00
spatial_audio_2d.rs fix spatial audio examples (#15863) 2024-10-13 17:05:20 +00:00
spatial_audio_3d.rs fix spatial audio examples (#15863) 2024-10-13 17:05:20 +00:00