Compare commits
3 Commits
6ef9d3a56a
...
32734f31d5
Author | SHA1 | Date | |
---|---|---|---|
32734f31d5 | |||
cabc938ab7 | |||
36f7c62836 |
|
@ -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:
|
||||||
|
|
|
@ -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 }
|
||||||
|
|
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user