-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged from master, prepare for v1.4.6 [ci-build]
- Loading branch information
Showing
14 changed files
with
277 additions
and
79 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ build = "build.rs" | |
authors = ["prixt <[email protected]>"] | ||
edition = "2018" | ||
description = "A Rusty SoundSense alternative" | ||
license = "MIT" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
@@ -26,7 +27,7 @@ env_logger = "0.7.1" | |
|
||
[build-dependencies] | ||
winres = "0.1" | ||
html-minifier = "1.1.14" | ||
html-minifier = "=1.1.9" | ||
|
||
[profile.dev.package.rodio] | ||
debug-assertions = false | ||
|
@@ -39,4 +40,7 @@ incremental = false | |
panic = "abort" | ||
|
||
[profile.release.build-override] | ||
opt-level = 0 | ||
opt-level = 0 | ||
|
||
[package.metadata.winres] | ||
LegalCopyright = "© 2019-2020 prixt" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,31 @@ | ||
/// Messages sent from the UI thread to the Sound thread. | ||
#[non_exhaustive] | ||
pub enum SoundMessage { | ||
/// Reload the gamelog with this path. | ||
ChangeGamelog(std::path::PathBuf), | ||
/// Reload the soundpack with this path. | ||
ChangeSoundpack(std::path::PathBuf), | ||
/// Reload the ignore list with this path. | ||
ChangeIgnoreList(std::path::PathBuf), | ||
/// Change the volume of a channel. | ||
/// "all" is total volume, other values are specific channels. | ||
VolumeChange(Box<str>, f32), | ||
// SetCurrentPathsAsDefault, | ||
/// Store the current channels volumes to a config file. | ||
SetCurrentVolumesAsDefault(std::fs::File), | ||
} | ||
|
||
#[allow(dead_code)] | ||
/// Message sent from the Sound thread to the UI thread. | ||
#[non_exhaustive] | ||
pub enum UIMessage { | ||
/// The gamelog finished loading. | ||
LoadedGamelog, | ||
/// The soundpack finished loading. | ||
/// Contains the names of the loaded channels. | ||
LoadedSoundpack(Vec<Box<str>>), | ||
/// The ignore list finished loading. | ||
LoadedIgnoreList, | ||
/// Loaded the default volumes from config. | ||
LoadedVolumeSettings(Vec<(Box<str>,f32)>), | ||
/// There was an error in the Sound thread. | ||
SoundThreadPanicked(String,String), | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.