Update wav rust library
This commit is contained in:
@@ -11,6 +11,7 @@ byteorder = "1.5.0"
|
||||
cdtypes = {path = "../cdtypes"}
|
||||
colored = "2.0.4"
|
||||
envmnt = "0.10.4"
|
||||
hound = "3.5.1"
|
||||
lz4 = "1.24.0"
|
||||
paste = "1.0.14"
|
||||
wslpath = {path = "../wslpath"}
|
||||
@@ -123,6 +123,12 @@ impl std::convert::From<std::sync::mpsc::RecvError> for Error {
|
||||
}
|
||||
}
|
||||
|
||||
impl std::convert::From<hound::Error> for Error {
|
||||
fn from(error: hound::Error) -> Self {
|
||||
Error::from_error(error)
|
||||
}
|
||||
}
|
||||
|
||||
pub fn exit_with_error(error: Error) {
|
||||
error.print_to_std_err();
|
||||
std::process::exit(error.exit_code);
|
||||
|
||||
Reference in New Issue
Block a user