mirror of
https://github.com/JanNeuendorf/SVC16.git
synced 2025-06-04 18:45:27 +00:00
Bumped version and fixed warnings
This commit is contained in:
parent
c204a3573a
commit
5689489240
5
Cargo.lock
generated
5
Cargo.lock
generated
@ -1955,16 +1955,15 @@ checksum = "19b30a45b0cd0bcca8037f3d0dc3421eaf95327a17cad11964fb8179b4fc4832"
|
|||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "rodio"
|
name = "rodio"
|
||||||
version = "0.19.0"
|
version = "0.20.1"
|
||||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||||
checksum = "6006a627c1a38d37f3d3a85c6575418cfe34a5392d60a686d0071e1c8d427acb"
|
checksum = "e7ceb6607dd738c99bc8cb28eff249b7cd5c8ec88b9db96c0608c1480d140fb1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"claxon",
|
"claxon",
|
||||||
"cpal",
|
"cpal",
|
||||||
"hound",
|
"hound",
|
||||||
"lewton",
|
"lewton",
|
||||||
"symphonia",
|
"symphonia",
|
||||||
"thiserror 1.0.69",
|
|
||||||
]
|
]
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
|
@ -13,7 +13,7 @@ cpal = { version = "0.15.3", features = ["asio"] }
|
|||||||
gilrs = { version = "0.11.0"}
|
gilrs = { version = "0.11.0"}
|
||||||
# There seems to be some incompatibility with the latest crates.io version of pixels?
|
# There seems to be some incompatibility with the latest crates.io version of pixels?
|
||||||
pixels = { git = "https://github.com/parasyte/pixels.git", rev = "d4df286"}
|
pixels = { git = "https://github.com/parasyte/pixels.git", rev = "d4df286"}
|
||||||
rodio = "0.19.0"
|
rodio = "0.20.1"
|
||||||
thiserror = "2.0.3"
|
thiserror = "2.0.3"
|
||||||
winit = "0.29.15"
|
winit = "0.29.15"
|
||||||
winit-input-map = "0.4.1"
|
winit-input-map = "0.4.1"
|
||||||
|
@ -8,8 +8,7 @@ use cli::Cli;
|
|||||||
use engine::Engine;
|
use engine::Engine;
|
||||||
use gilrs::Gilrs;
|
use gilrs::Gilrs;
|
||||||
use pixels::{Pixels, SurfaceTexture};
|
use pixels::{Pixels, SurfaceTexture};
|
||||||
use rodio::{source::Source, Decoder, OutputStream, Sink};
|
use rodio::Sink;
|
||||||
use std::any::Any;
|
|
||||||
use std::time::{Duration, Instant};
|
use std::time::{Duration, Instant};
|
||||||
use utils::*;
|
use utils::*;
|
||||||
use winit::dpi::LogicalSize;
|
use winit::dpi::LogicalSize;
|
||||||
@ -30,7 +29,7 @@ fn main() -> Result<()> {
|
|||||||
let event_loop = EventLoop::new()?;
|
let event_loop = EventLoop::new()?;
|
||||||
let mut input = WinitInputHelper::new();
|
let mut input = WinitInputHelper::new();
|
||||||
let mut gamepad = build_gamepad_map();
|
let mut gamepad = build_gamepad_map();
|
||||||
let (audio_strem, audio_player) = rodio::OutputStream::try_default()?;
|
let (_audio_strem, audio_player) = rodio::OutputStream::try_default()?;
|
||||||
let audio_sink = Sink::try_new(&audio_player)?;
|
let audio_sink = Sink::try_new(&audio_player)?;
|
||||||
if cli.scaling < 1 {
|
if cli.scaling < 1 {
|
||||||
return Err(anyhow!("The minimal scaling factor is 1"));
|
return Err(anyhow!("The minimal scaling factor is 1"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user