Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New ui & audio backend #35

Merged
merged 60 commits into from
Dec 21, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
60 commits
Select commit Hold shift + click to select a range
227e7e4
Browser and Settings
zX3no Aug 2, 2023
59f25ad
Settings
zX3no Aug 2, 2023
3efd7f9
Queue
zX3no Aug 2, 2023
df0803b
Fixed issues with latest winter version
zX3no Aug 2, 2023
0f8c4f7
Queue
zX3no Aug 2, 2023
04d2711
Playlist
zX3no Aug 2, 2023
c592ce4
Help, search and input events
zX3no Aug 3, 2023
d821fa9
Fixed input and raw mode
zX3no Aug 3, 2023
38a2622
Cleaned up help menu.
zX3no Aug 3, 2023
b0182d4
Adjusted polling rate for proper audio playback
zX3no Aug 3, 2023
b9cd5d2
Fixed styling issues with queue
zX3no Aug 3, 2023
4916b33
Fixed search and key states
zX3no Aug 4, 2023
3869b65
Fixed playlists failing to delete
zX3no Aug 5, 2023
4d14c7b
Clippy
zX3no Aug 5, 2023
602a912
Updated README
zX3no Aug 5, 2023
d60dcf6
Fixed scrolling issues
zX3no Aug 6, 2023
3498797
cleanup
zX3no Aug 15, 2023
f2d4187
Improved search bindings
zX3no Aug 20, 2023
f5e05e9
Removed walkdir
zX3no Aug 20, 2023
cfb116f
Updated winwalk
zX3no Aug 20, 2023
335f409
benchmarks
zX3no Aug 22, 2023
230ec76
Fixed search empty when query is empty
zX3no Aug 26, 2023
72ea9e2
Bump deps
zX3no Aug 26, 2023
83642da
Improved WASAPI error handling
zX3no Sep 10, 2023
d24a783
Updated winwalk
zX3no Sep 20, 2023
9db0c42
Rewrote wasapi backend
zX3no Sep 26, 2023
73bc21a
Ring buffer
zX3no Sep 27, 2023
22f61f2
Cleaned up profiling
zX3no Sep 29, 2023
e2f25ca
Clean up
zX3no Sep 29, 2023
89b4fd6
Testing ring buffer
zX3no Sep 29, 2023
88934bf
Testing thread locking options
zX3no Sep 29, 2023
3f20cab
Static and heap ringbuffer
zX3no Oct 1, 2023
c2d7cb0
testing
zX3no Oct 1, 2023
4c34541
Ring buffer resizing
zX3no Oct 1, 2023
bb70983
todo
zX3no Oct 1, 2023
386049a
cleanup
zX3no Oct 20, 2023
db51087
Update to latest winter
zX3no Nov 9, 2023
ceb023d
Testing macros
zX3no Dec 4, 2023
fa4a778
Fixed issue with search backspace
zX3no Dec 4, 2023
99e2f15
Testing new decoder
zX3no Dec 4, 2023
a58abac
Updated winter
zX3no Dec 5, 2023
d2bb731
Improved player
zX3no Dec 11, 2023
1221a85
Testing new player
zX3no Dec 12, 2023
705e41a
testing
zX3no Dec 12, 2023
054aba6
Testing SegQueue and lock free vector
zX3no Dec 12, 2023
f37cb55
Working thread safe buffer
zX3no Dec 14, 2023
5744d98
Working player
zX3no Dec 17, 2023
eb72a2e
Fixed crash in search menu
zX3no Dec 17, 2023
67d12b9
Cursor support
zX3no Dec 17, 2023
e3e431c
Fixed queue index
zX3no Dec 17, 2023
3c86eb6
Cleanup
zX3no Dec 17, 2023
8ecbcbd
Fixed UI crashes
zX3no Dec 18, 2023
e73ddbf
Fixed some playback issues
zX3no Dec 18, 2023
3475e5b
Fixed playlist rendering
zX3no Dec 19, 2023
75f1c7f
Fixed settings not saving, added shift up/down for larger jumps, fixe…
zX3no Dec 20, 2023
ca1150c
removed dbg!
zX3no Dec 20, 2023
fd736d7
clippy
zX3no Dec 20, 2023
3472b2c
Sleep while size is zero
zX3no Dec 20, 2023
5ac4d5d
Cleaned up dependencies
zX3no Dec 21, 2023
f84b42e
Updated README.md
zX3no Dec 21, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
cleanup
  • Loading branch information
zX3no committed Oct 20, 2023
commit 386049acc0c9f142ba881cbe1db116de83f93e88
17 changes: 1 addition & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,8 @@
<img src="https://raw.githubusercontent.com/zX3no/gonk/main/media/gonk.gif">
</div>

## ⚠️ Warning

- Gonk is under heavy development. Expect breaking changes.

## ✨ Features
- Easy to use
- Windows and Linux support (WASAPI, ALSA, Jack)
- Plays FLAC, MP3 and OGG
- Fuzzy search
- Vim-style key bindings
Expand All @@ -27,16 +22,6 @@ Download the latest [release](https://github.com/zX3no/gonk/releases/latest) and
gonk add ~/Music
```

### Building from Source

> Current master branch cannot be built on linux. You can still use an older version [0.1.2](https://github.com/zX3no/gonk/releases/tag/0.1.2), see [#19](https://github.com/zX3no/gonk/issues/19).

```
git clone https://github.com/zX3no/gonk
cd gonk
cargo install --path gonk
gonk
```
## ⌨️ Key Bindings

| Command | Key |
Expand Down Expand Up @@ -88,4 +73,4 @@ gonk

## ❤️ Contributing

Feel free to open an issue or submit a pull request!
Feel free to open an issue or submit a pull request!
2 changes: 1 addition & 1 deletion gonk-core/src/flac_decoder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ pub fn u32_le(reader: &mut BufReader<File>) -> u32 {
u32::from_le_bytes(buffer)
}

pub fn read_metadata(path: impl AsRef<Path>) -> Result<HashMap<String, String>, Box<dyn Error>> {
pub fn read_metadata<P: AsRef<Path>>(path: P) -> Result<HashMap<String, String>, Box<dyn Error>> {
let file = File::open(path)?;
let mut reader = BufReader::new(file);

Expand Down
4 changes: 2 additions & 2 deletions gonk-player/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ license = "CC0-1.0"

[features]
profile = ["gonk-core/profile"]
strip = ["log/strip"]
strip = ["minilog/strip"]

[dependencies]
crossbeam-channel = "0.5.8"
minilog = "0.1.0"
gonk-core = { version = "0.2.0", path = "../gonk-core" }
log = { path ="../../log", version = "0.1.0" }
symphonia = { git = "https://github.com/pdeljanov/Symphonia", default-features = false, features = [
"flac",
"mp3",
Expand Down
2 changes: 1 addition & 1 deletion gonk-player/src/rb.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
pub use log::*;
pub use minilog::*;
use std::sync::{
atomic::{AtomicBool, AtomicUsize, Ordering},
Condvar, Mutex,
Expand Down
Binary file modified gonk.rdbg
Binary file not shown.