-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improve performance and seek accuracy (#48)
* Improved performance when decoding near the end of a file * Improved the accuracy when seeking to a large frame value with the Symphonia decoder * Bumped minimum supported Rust version to 1.65
- Loading branch information
Billy Messenger
authored
Jan 4, 2024
1 parent
643f58b
commit 9f2414e
Showing
10 changed files
with
100 additions
and
145 deletions.
There are no files selected for viewing
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,6 +1,6 @@ | ||
[package] | ||
name = "creek" | ||
version = "1.2.0" | ||
version = "1.2.1" | ||
authors = ["Billy Messenger <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
|
@@ -17,7 +17,7 @@ include = [ | |
"LICENSE-MIT", | ||
"how_it_works.svg", | ||
] | ||
rust-version = "1.62" | ||
rust-version = "1.65" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
|
@@ -57,8 +57,8 @@ decode-all = [ | |
encode-wav = ["creek-encode-wav"] | ||
|
||
[dependencies] | ||
creek-core = { version = "0.2.0", path = "core" } | ||
creek-decode-symphonia = { version = "0.3.0", path = "decode_symphonia", optional = true } | ||
creek-core = { version = "0.2.1", path = "core" } | ||
creek-decode-symphonia = { version = "0.3.1", path = "decode_symphonia", optional = true } | ||
creek-encode-wav = { version = "0.2.0", path = "encode_wav", optional = true } | ||
|
||
# Unoptimized builds result in prominent gaps of silence after cache misses in the demo player. | ||
|
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,6 +1,6 @@ | ||
[package] | ||
name = "creek-core" | ||
version = "0.2.0" | ||
version = "0.2.1" | ||
authors = ["Billy Messenger <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
|
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,6 +1,6 @@ | ||
[package] | ||
name = "creek-decode-symphonia" | ||
version = "0.3.0" | ||
version = "0.3.1" | ||
authors = ["Billy Messenger <[email protected]>"] | ||
edition = "2021" | ||
license = "MIT OR Apache-2.0" | ||
|
@@ -14,7 +14,7 @@ repository = "https://github.com/RustyDAW/creek" | |
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[dependencies] | ||
creek-core = { version = "0.2.0", path = "../core" } | ||
creek-core = { version = "0.2.1", path = "../core" } | ||
log = "0.4" | ||
symphonia = "0.5" | ||
|
||
|
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