-
Notifications
You must be signed in to change notification settings - Fork 602
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
Remove unsafe code #940
Remove unsafe code #940
Conversation
Ready? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the mix-up but let's make sure this targets new-api
so we can use the new ubiquitous librespot_core::Error
type.
I can do both There's also the logic that states that since My proposal is to merge this into |
The general idea being that if code can benefit |
I'm also having an issue with compiling the |
I am considering doing an intermediate merge of Also I am porting the recent
OK, sounds good to me.
OK, let me know. Assuming that's the case (I don't have any of such devices) I don't know what I did to cause that. |
Sounds good.
It's nothing you did directly one of the dependencies won't compile. It's nothing in Like I said I haven't really looked that hard into it and I haven't tried to compile that branch on an actual Pi Zero because it takes like 4 hours. It could very well be just a matter of rejiggering some tooling. |
Merged. As a suggestion for |
My general mode of operation is basically what you describe. |
* spotty-dev: (76 commits) Quantum-realm level normalisation optimization (librespot-org#965) Only log runtime argument if it starts with a dash "-" Improved error handling when fetching tokens or track data. update changelog Prevent shuffle crash Remove basic normalisation deprecation warning Fix Alsa softvol linear mapping (librespot-org#950) simplify get_factor (librespot-org#942) Update LMS integration to Remove unsafe code (librespot-org#940) Save some more CPU cycles in the limiter (librespot-org#939) New dynamic limiter for very wide dynamic ranges (librespot-org#935) Fix `--device` argument to various backends (librespot-org#938) examples/playlist_tracks: Use normal URI parser Fix clippy lint warning Clean up list_compatible_devices Sink: pass ownership of the packet on write() Restore giving feedback about auth success. The plugin is checking for this. Remove that last couple unwraps from main Fix auto fallback for --alsa-mixer-device and --alsa-mixer-index ...
As mentioned in #917 (comment).