Skip to content

Commit

Permalink
Longer timeout for Alsa I/O, bump to rc3
Browse files Browse the repository at this point in the history
  • Loading branch information
HEnquist committed Feb 25, 2022
1 parent b4863ba commit 0dcbf87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "camilladsp"
version = "1.0.0-rc2"
version = "1.0.0-rc3"
authors = ["Henrik Enquist <[email protected]>"]
edition = "2021"
description = "A flexible tool for processing audio"
Expand Down Expand Up @@ -43,7 +43,6 @@ dispatch = "0.2.0"
wasapi = "0.10.0"
crossbeam-channel = "0.5"
windows = {version = "0.32.0", features = ["alloc", "Win32_System_Threading", "Win32_Foundation"] }
#winapi = { version = "0.3", features = ["avrt"] }

[dependencies]
serde = { version = "1.0", features = ["derive"] }
Expand Down
4 changes: 2 additions & 2 deletions src/alsadevice.rs
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ fn play_buffer(
);
}

match pcmdevice.wait(Some(2 * millis_per_chunk as u32)) {
match pcmdevice.wait(Some(4 * millis_per_chunk as u32)) {
Ok(true) => {
trace!("Playback waited, ready");
}
Expand Down Expand Up @@ -220,7 +220,7 @@ fn capture_buffer(
}
let millis_per_chunk = 1000 * frames_to_read / samplerate;

match pcmdevice.wait(Some(2 * millis_per_chunk as u32)) {
match pcmdevice.wait(Some(4 * millis_per_chunk as u32)) {
Ok(true) => {
trace!("Capture waited, ready");
}
Expand Down

0 comments on commit 0dcbf87

Please sign in to comment.