22 mins of trying and failing to convert it to sdl3. sdl2 forever
Added some doc comments because I plan to at some point have the audio-handling junk in a seperate crate so you can staple a frontend onto it. Okie now I can do v2.0
Bump version, and do a boatload of under-the-hood microoptimizations and horribly unreadable code paired with next-to-no docs.
I did some general stability improvments and added error handling for the config (thanks @tkrl for bringing that to light).
I added a duration counter. It’s in seconds. No I’m not formatting it.
Ran cargo fmt and spent an hour making sure that the playback is gapless and that my unsafe code wasn’t corrupting the memory. Also added a debug launch.json for vscode / vscodium users trying to debug it.
Added settings page and very wisely used unsafe code to squish the sample playing loop, next up we have to address sample parsing since that can take a bit in prod. I will figure it out soon.
Removed the about page that the ratings made apparent that no one read and started to add a settings page. I mean it has nothing at all.
Added a lot to the README.md because it needs better documentation of features, also added file filtering.
Made the controls better and remove a dependency. I also did some other stuff I am too tired to get into.
The configuration update, make your own blindingly bright and eye-watering theme for GLAP today! (I did not put any restrictions on the theme, kinda almost but still might not work in terminal.app)
commiting now because its time for bed now. I am working on configuration. you know, custom themes, hiding the control bar, and the like. [EDIT]: IT DOESNT ACTUALLY PARSE THEM YET AND ITS BROKEN ANYWAY THIS COMMIT DOES NOT WORK
Fixes. I ran cargo clippy, added some v2 ideas, and generally cleaned up and optimized the code. Bumped version to v1.1.0 because the cargo overlords demand it, and also changed the controls thingy.
I basically added rewinding and fast-forwarding. I also made the button unfocus with the window. I will ship soon™️
Probably the last devlog before Ship 1; I removed volume from the player because it just ate up memory and cpu cycles, and ran cargo fmt and cargo clippy for good measure. It’s pretty much done now.
I’m almost done. I programmed in controls and repeating a folder of music (so basically playlists). It just repeats it in the displayed order so keep that in mind.
I am working on controls for the UI and them functioning. Making the elements focus right will be a pain. Well at least I’m in the home stretch. Unless of course I choose to split the backend of a crate… Meh I probably won’t do it.
UI!!!!!
I can use this kind of it still needs to be able to pause but it can resonably be considered an audio player now! This is so tiring but at least I can say that I’ve made something now.