[PR #10] [MERGED] Add --progressive-volume option. Increase volume slowly at low level,… #775

Closed
opened 2026-02-27 19:59:54 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/librespot-org/librespot/pull/10
Author: @thekr1s
Created: 1/25/2018
Status: Merged
Merged: 1/30/2018
Merged by: @sashahilton00

Base: masterHead: progressive-voume-control


📝 Commits (8)

📊 Changes

1 file changed (+31 additions, -8 deletions)

View changed files

📝 src/spirc.rs (+31 -8)

📄 Description

… faster at higher level

I use a Raspberry pi with a hifiberry. I installed run OSMC (includes Kodi) on it and added librespot. The volume control of librespot is very dfferent from Kodi. In the first 5 percent of the volume level in librespot, the volume increases very fast to about the same level Kodi has at 50%. That is what I try to solve here.
I'm not a mathematic, so I implemented some 'by trial' algorithm.

Note: I did not know how to test the handle_volume_up() and handle_volume_down() functions in spirc.rs.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/librespot-org/librespot/pull/10 **Author:** [@thekr1s](https://github.com/thekr1s) **Created:** 1/25/2018 **Status:** ✅ Merged **Merged:** 1/30/2018 **Merged by:** [@sashahilton00](https://github.com/sashahilton00) **Base:** `master` ← **Head:** `progressive-voume-control` --- ### 📝 Commits (8) - [`4870acd`](https://github.com/librespot-org/librespot/commit/4870acd572c8de86b9c71d308363485111c3725a) Add --progressive-volume option. Increase volume slowly at low level, faster at higher level - [`67adb06`](https://github.com/librespot-org/librespot/commit/67adb06859d951755369ecd887e152e48f34fea4) update README.md - [`f5b70c4`](https://github.com/librespot-org/librespot/commit/f5b70c4cb6fd09e49e3f4851819853fb0c46005e) update README.md - [`de7d341`](https://github.com/librespot-org/librespot/commit/de7d341faa3505b1ff4160f4819196ad9be32b88) update README.md - [`bec6b8c`](https://github.com/librespot-org/librespot/commit/bec6b8c512ff2d2e7c4aa3d7819e02dd8fca73f8) Changed volume control after discussion: https://github.com/librespot-org/librespot/pull/10 - [`f0061a2`](https://github.com/librespot-org/librespot/commit/f0061a22ce7e752400ca0e47ea2b681c64987247) Merge branch 'progressive-voume-control' of https://github.com/thekr1s/librespot into progressive-voume-control - [`0b491b8`](https://github.com/librespot-org/librespot/commit/0b491b82aa08ffd867a8ba38e8837909ecc04956) Merge branch 'progressive-voume-control' of https://github.com/thekr1s/librespot into progressive-voume-control - [`871ab2b`](https://github.com/librespot-org/librespot/commit/871ab2b3714e88f4beb4631a1d851063331c20c5) Merge branch 'progressive-voume-control' of https://github.com/thekr1s/librespot into progressive-voume-control ### 📊 Changes **1 file changed** (+31 additions, -8 deletions) <details> <summary>View changed files</summary> 📝 `src/spirc.rs` (+31 -8) </details> ### 📄 Description … faster at higher level I use a Raspberry pi with a hifiberry. I installed run OSMC (includes Kodi) on it and added librespot. The volume control of librespot is very dfferent from Kodi. In the first 5 percent of the volume level in librespot, the volume increases very fast to about the same level Kodi has at 50%. That is what I try to solve here. I'm not a mathematic, so I implemented some 'by trial' algorithm. Note: I did not know how to test the handle_volume_up() and handle_volume_down() functions in spirc.rs. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 19:59:54 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/librespot#775
No description provided.