mirror of
https://github.com/devgianlu/go-librespot.git
synced 2026-04-26 13:25:49 +03:00
[GH-ISSUE #10] Volume change on devices with big output buffer takes a while #6
Labels
No labels
bug
enhancement
pull-request
spotify-side
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/go-librespot#6
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @devgianlu on GitHub (Nov 4, 2023).
Original GitHub issue: https://github.com/devgianlu/go-librespot/issues/10
When changing the volume on devices that have a very long output buffer it takes a while for the effect to propagate because we are outputting multiplied samples. Perphaps there's a way to let the audio backend do the volume? If that's not the case we need to drop the buffer on volume change.
@blamphos commented on GitHub (Nov 5, 2023):
First, thanks for awesome work done with this! I understand the reason for multiplying samples but this does not work for setup that is using hardware mixer or external volume control. Could you think of possibility to add config parameter which can be used to disable multiplying samples? Necessary messaging on volume control changes is there already.
@devgianlu commented on GitHub (Nov 5, 2023):
@blamphos I have added a
external_volumeconfig option to disable internal handling of volume.@devgianlu commented on GitHub (May 20, 2024):
See #36
session#179