1
0
Fork 0
mirror of https://github.com/librespot-org/librespot.git synced 2025-10-04 02:09:26 +02:00
librespot/connect/src
Scott S. McCoy 6bdc0eb312
spirc: Configurable volume control steps (#1498)
* spirc: Configurable volume control steps

Allow the volume control steps to be configured via the `--volume-steps`
command line parameter. The author personally found the default volume
steps of `1024` to be completely unusable, and is presently using `128`
as his configuration. Perhaps consider this as a more reasonable
default.

Additionally, reduce the delay in volume update from a wopping two
seconds to 500ms, again for usability.

Also clean up the seemingly unnecessary use of a pattern match on
whether or not `--initial-volume` was supplied.

* fixup! spirc: Configurable volume control steps

* fixup! spirc: Configurable volume control steps

* fixup! spirc: Configurable volume control steps

* fixup! spirc: Configurable volume control steps

* fixup! spirc: Configurable volume control steps

* fixup! spirc: Configurable volume control steps

---------

Co-authored-by: Scott S. McCoy <scott.s.mccoy@acm.org>
2025-05-01 23:19:47 +02:00
..
state Emit shuffle and repeat events again (#1469) 2025-03-22 20:17:46 +01:00
context_resolver.rs Shuffle tracks in place (#1445) 2025-02-02 22:58:30 +01:00
lib.rs Add rustdoc to connect crate (#1455) 2025-02-22 23:39:16 +01:00
model.rs Add rustdoc to connect crate (#1455) 2025-02-22 23:39:16 +01:00
shuffle_vec.rs Add rustdoc to connect crate (#1455) 2025-02-22 23:39:16 +01:00
spirc.rs spirc: Configurable volume control steps (#1498) 2025-05-01 23:19:47 +02:00
state.rs spirc: Configurable volume control steps (#1498) 2025-05-01 23:19:47 +02:00