diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index fe9d7f3..5774332 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -93,4 +93,4 @@ jobs: - uses: actions-rs/cargo@v1 with: command: clippy - args: -- -D warnings + args: -- -D warnings \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..bab2531 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,21 @@ +# Changelog +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), +and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [Unreleased] + +### Added +- Support for mono. +- Support for `oddio::Sine` and `oddio::SpatialScene`. + +### Changed +- `Audio::play` now returns `AudioHandle` and `AudioSink`. +- All public facing structs now need `F` to be specified, where `F` is either `Mono` or `Stereo`. + +## [0.1.0] - 2022-07-01 +- Released `bevy_oddio` 0.1 🎉 + +[Unreleased]: https://github.com/harudagondi/bevy_oddio/compare/v0.1.0..HEAD +[0.1.0]: https://github.com/harudagondi/bevy_oddio/releases/tag/v0.1.0 \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index a2f32d7..d5cf339 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -13,7 +13,7 @@ categories = ["game-development", "multimedia::audio"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -oddio = "0.5" +oddio = "0.6" cpal = "0.13" parking_lot = "0.12" hound = { version = "3.4", optional = true } diff --git a/README.md b/README.md index cf57ed3..cf15e64 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ A third party Bevy plugin that integrates [`oddio`] into [Bevy]. ```rust no_run use bevy::prelude::*; use bevy_oddio::*; +use bevy_oddio::frames::Stereo; fn main() { App::new() @@ -21,7 +22,7 @@ fn main() { .run(); } -fn play_background_audio(asset_server: Res, mut audio: ResMut