()
| 286 | #[cfg(feature = "scheduled_events")] |
| 287 | update_instant: Instant::now(), |
| 288 | #[cfg(feature = "musical_transport")] |
| 289 | current_playhead: None, |
| 290 | #[cfg(feature = "musical_transport")] |
| 291 | speed_multiplier: 1.0, |
| 292 | #[cfg(feature = "musical_transport")] |
| 293 | transport_is_playing: false, |
| 294 | } |
| 295 | } |
| 296 | } |
| 297 | |
| 298 | /// How to handle event buffers on the audio thread running out of space. |
| 299 | #[derive(Default, Debug, Clone, Copy, PartialEq, PartialOrd)] |
| 300 | #[cfg_attr(feature = "bevy_reflect", derive(bevy_reflect::Reflect))] |
| 301 | #[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))] |
| 302 | pub enum BufferOutOfSpaceMode { |
nothing calls this directly
no test coverage detected