Skip to content

Commit

Permalink
Bump Bevy dependency to 0.13
Browse files Browse the repository at this point in the history
  • Loading branch information
NiklasEi committed Feb 17, 2024
1 parent 0a61eb4 commit 7d84938
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## v0.19.0 - 18.02.2024
## v0.19.0 - 17.02.2024
- Update to Bevy `0.13`

## v0.18.0 - 04.11.2023
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ wav = ["kira/wav"]
settings_loader = ["dep:ron", "dep:serde", "kira/serde"]

[dependencies]
bevy = { git = "https://github.com/bevyengine/bevy", default-features = false, features = ["bevy_asset"] }
bevy = { version = "0.13", default-features = false, features = ["bevy_asset"] }
anyhow = "1.0"
uuid = { version = "1", features = ["fast-rng"] }
kira = { version = "0.8", default-features = false, features = ["cpal"] }
Expand All @@ -32,7 +32,7 @@ parking_lot = "0.12"
thiserror = "1.0"

[dev-dependencies.bevy]
git = "https://github.com/bevyengine/bevy"
version = "0.13"
default-features = false
features = [
"bevy_asset",
Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,20 +89,20 @@ The main branch is compatible with the latest Bevy release.

Compatibility of `bevy_kira_audio` versions:

| `bevy_kira_audio` | `bevy` |
|:------------------|:-------|
| `0.19` | `0.13` |
| `0.18` | `0.12` |
| `0.16` - `0.17` | `0.11` |
| `0.15` | `0.10` |
| `0.13` - `0.14` | `0.9` |
| `0.11` - `0.12` | `0.8` |
| `0.9` - `0.10` | `0.7` |
| `0.8` | `0.6` |
| `0.4` - `0.7` | `0.5` |
| `0.3` | `0.4` |
| `main` | `0.13` |
| `bevy_main` | `main` |
| Bevy version | `bevy_kira_audio` version |
|:-------------|:--------------------------|
| `0.13` | `0.19` |
| `0.12` | `0.18` |
| `0.11` | `0.16` - `0.17` |
| `0.10` | `0.15` |
| `0.9` | `0.13` - `0.14` |
| `0.8` | `0.11` - `0.12` |
| `0.7` | `0.9` - `0.10` |
| `0.6` | `0.8` |
| `0.5` | `0.4` - `0.7` |
| `0.4` | `0.3` |
| `0.13` | `main` |
| `main` | `bevy_main` |

## License

Expand All @@ -124,4 +124,4 @@ additional terms or conditions.


[kira]: https://github.com/tesselode/kira
[bevy_default_features]: https://github.com/bevyengine/bevy/blob/v0.12.0/Cargo.toml#L33-L57
[bevy_default_features]: https://github.com/bevyengine/bevy/blob/v0.13.0/Cargo.toml#L55-L80
4 changes: 2 additions & 2 deletions examples/stress_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ struct AudioHandle(Handle<AudioSource>);

fn prepare(asset_server: Res<AssetServer>, mut commands: Commands, audio: Res<Audio>) {
// Stop our ears from exploding...
// Playing multiple sounds in the same frame gets
// Playing multiple sounds in the same frame can get quite loud
audio.set_volume(0.001);
commands.insert_resource(LoadingAudioHandle(asset_server.load("sounds/plop.ogg")))
}
Expand All @@ -55,7 +55,7 @@ fn play(handle: Option<Res<AudioHandle>>, audio: Res<Audio>) {
// The max number here depends on your hardware.
// If you get warnings and/or stuttered sounds try reducing the amount and/or changing the
// capacities of the `AudioSettings` in the `main` method.
for _ in 0..75 {
for _ in 0..100 {
audio.play(handle.0.clone());
}
}
Expand Down

0 comments on commit 7d84938

Please sign in to comment.