Compare commits

..

No commits in common. "32734f31d56d16f0e3bc06d51fcfcde0957ac38d" and "6ef9d3a56aa5e9b27182daabeccdc25db4828fce" have entirely different histories.

3 changed files with 5 additions and 6 deletions

View File

@ -5,20 +5,18 @@ name: default
steps: steps:
- name: test - name: test
image: rust:bullseye image: rust:bullseye
pull: always
commands: commands:
- rustup component add clippy rustfmt - rustup component add clippy rustfmt
- apt-get update -qq - apt-get update -qq
- apt-get install -qqy cmake pkg-config libx11-dev libasound2-dev libudev-dev libxcb-xfixes0-dev libwayland-dev libxkbcommon-dev libvulkan-dev libpulse-dev - apt-get install -qqy llvm-dev libclang-dev clang cmake pkg-config libx11-dev libasound2-dev libudev-dev libxcb-xfixes0-dev libwayland-dev libxkbcommon-dev libvulkan-dev libpulse-dev
- cargo fmt --check - cargo fmt --check
- cargo test - cargo test
- cargo clippy - cargo clippy
- name: release - name: release
image: rust:bullseye image: rust:bullseye
pull: always
commands: commands:
- apt-get update -qq - apt-get update -qq
- apt-get install -qqy cmake pkg-config libx11-dev libasound2-dev libudev-dev libxcb-xfixes0-dev libwayland-dev libxkbcommon-dev libvulkan-dev libpulse-dev - apt-get install -qqy llvm-dev libclang-dev clang cmake pkg-config libx11-dev libasound2-dev libudev-dev libxcb-xfixes0-dev libwayland-dev libxkbcommon-dev libvulkan-dev libpulse-dev
- cargo publish --no-verify - cargo publish --no-verify
when: when:
ref: ref:

View File

@ -11,7 +11,7 @@ repository = "https://labs.lightsout.games/projects/bevy_synthizer"
[dependencies] [dependencies]
anyhow = "1" anyhow = "1"
bevy = { version = "0.9", default-features = false, features = ["bevy_asset"] } bevy = { version = "0.9", default-features = false, features = ["bevy_asset"] }
synthizer = { git = "https://github.com/synthizer/synthizer-rs" } synthizer = "0.5"
[dev-dependencies] [dev-dependencies]
bevy = { version = "0.9", default-features = true } bevy = { version = "0.9", default-features = true }

View File

@ -66,6 +66,7 @@ impl Default for Source {
} }
#[derive(Component, Clone, Copy, Debug, Deref, DerefMut)] #[derive(Component, Clone, Copy, Debug, Deref, DerefMut)]
// #[reflect(Component)]
pub struct PannerStrategy(pub syz::PannerStrategy); pub struct PannerStrategy(pub syz::PannerStrategy);
impl Default for PannerStrategy { impl Default for PannerStrategy {
@ -713,13 +714,13 @@ impl Plugin for SynthizerPlugin {
let context = Context(context); let context = Context(context);
app.add_asset::<Buffer>() app.add_asset::<Buffer>()
.init_asset_loader::<BufferAssetLoader>() .init_asset_loader::<BufferAssetLoader>()
.register_type::<Source>()
.register_type::<DistanceRef>() .register_type::<DistanceRef>()
.register_type::<DistanceMax>() .register_type::<DistanceMax>()
.register_type::<Rolloff>() .register_type::<Rolloff>()
.register_type::<ClosenessBoostDistance>() .register_type::<ClosenessBoostDistance>()
.register_type::<AngularPan>() .register_type::<AngularPan>()
.register_type::<ScalarPan>() .register_type::<ScalarPan>()
.register_type::<Source>()
.register_type::<Sound>() .register_type::<Sound>()
.register_type::<Listener>() .register_type::<Listener>()
.insert_resource(guard) .insert_resource(guard)