2020-07-16 20:46:51 +00:00
|
|
|
[package]
|
|
|
|
name = "bevy_audio"
|
2022-11-12 20:01:29 +00:00
|
|
|
version = "0.9.0"
|
2021-10-27 00:12:14 +00:00
|
|
|
edition = "2021"
|
2020-08-10 00:24:27 +00:00
|
|
|
description = "Provides audio functionality for Bevy Engine"
|
|
|
|
homepage = "https://bevyengine.org"
|
|
|
|
repository = "https://github.com/bevyengine/bevy"
|
2021-07-23 21:11:51 +00:00
|
|
|
license = "MIT OR Apache-2.0"
|
2020-08-10 00:24:27 +00:00
|
|
|
keywords = ["bevy"]
|
2020-07-16 20:46:51 +00:00
|
|
|
|
|
|
|
[dependencies]
|
2020-08-10 00:39:28 +00:00
|
|
|
# bevy
|
2022-11-12 20:01:29 +00:00
|
|
|
bevy_app = { path = "../bevy_app", version = "0.9.0" }
|
|
|
|
bevy_asset = { path = "../bevy_asset", version = "0.9.0" }
|
|
|
|
bevy_ecs = { path = "../bevy_ecs", version = "0.9.0" }
|
|
|
|
bevy_reflect = { path = "../bevy_reflect", version = "0.9.0", features = ["bevy"] }
|
|
|
|
bevy_utils = { path = "../bevy_utils", version = "0.9.0" }
|
2020-08-10 00:39:28 +00:00
|
|
|
|
|
|
|
# other
|
2021-07-15 21:25:49 +00:00
|
|
|
anyhow = "1.0.4"
|
2022-09-19 13:56:56 +00:00
|
|
|
rodio = { version = "0.16", default-features = false }
|
2022-07-14 21:17:16 +00:00
|
|
|
parking_lot = "0.12.1"
|
2020-08-11 06:30:42 +00:00
|
|
|
|
2023-02-06 18:08:49 +00:00
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
|
|
oboe = { version = "0.4", optional = true }
|
|
|
|
|
2021-11-11 01:17:38 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2022-09-19 13:56:56 +00:00
|
|
|
rodio = { version = "0.16", default-features = false, features = ["wasm-bindgen"] }
|
2021-11-11 01:17:38 +00:00
|
|
|
|
2022-01-05 22:30:15 +00:00
|
|
|
|
2020-08-11 06:30:42 +00:00
|
|
|
[features]
|
|
|
|
mp3 = ["rodio/mp3"]
|
|
|
|
flac = ["rodio/flac"]
|
|
|
|
wav = ["rodio/wav"]
|
|
|
|
vorbis = ["rodio/vorbis"]
|
2023-01-09 19:05:30 +00:00
|
|
|
symphonia-aac = ["rodio/symphonia-aac"]
|
|
|
|
symphonia-all = ["rodio/symphonia-all"]
|
|
|
|
symphonia-flac = ["rodio/symphonia-flac"]
|
|
|
|
symphonia-isomp4 = ["rodio/symphonia-isomp4"]
|
|
|
|
symphonia-mp3 = ["rodio/symphonia-mp3"]
|
|
|
|
symphonia-vorbis = ["rodio/symphonia-vorbis"]
|
|
|
|
symphonia-wav = ["rodio/symphonia-wav"]
|
2023-02-06 18:08:49 +00:00
|
|
|
# Enable using a shared stdlib for cxx on Android.
|
|
|
|
android_shared_stdcxx = ["oboe/shared-stdcxx"]
|