Compare commits

..

3 Commits

Author SHA1 Message Date
32734f31d5 Update CI configuration.
All checks were successful
continuous-integration/drone/push Build is passing
2022-12-15 10:50:03 -06:00
cabc938ab7 Temporarily switch back to synthizer-rs master. 2022-12-15 10:48:29 -06:00
36f7c62836 Reorder type registrations and remove comments for unsupported reflection type. 2022-12-07 11:18:26 -06:00
3 changed files with 6 additions and 5 deletions

View File

@ -5,18 +5,20 @@ 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 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 - apt-get install -qqy 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 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 - apt-get install -qqy 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 = "0.5" synthizer = { git = "https://github.com/synthizer/synthizer-rs" }
[dev-dependencies] [dev-dependencies]
bevy = { version = "0.9", default-features = true } bevy = { version = "0.9", default-features = true }

View File

@ -66,7 +66,6 @@ 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 {
@ -714,13 +713,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)