Skip to content
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

feat(audio): Allow label-volume in muted format #3095

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

druckdev
Copy link

Until c552df3 ("fix: Modules did not validate tags used in formats") it was possible to use the volume label in the muted format. This made sense as the volume level can change while muted and it allowed for example following formats:

format-volume = "<ramp-volume>  <label-volume> "
format-muted  =  <label-muted> (<label-volume>)

Add label-volume to the format-muted allowlist to re-enable this feature.


What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Other: Replace this with a description of the type of this PR

Description

Related Issues & Documents

Documentation (check all applicable)

  • This PR requires changes to the Wiki documentation (describe the changes)
  • This PR requires changes to the documentation inside the git repo (please add them to the PR).
  • Does not require documentation changes

Add <label-volume> to the comment describing the available tags of format-muted in both the alsa and the pulseaudio wiki page.

Until c552df3 ("fix: Modules did not validate tags used in
formats") it was possible to use the volume label in the muted format.
This made sense as the volume level can change while muted and it
allowed for example following formats:

    format-volume = "<ramp-volume>  <label-volume> "
    format-muted  =  <label-muted> (<label-volume>)

Add label-volume to the format-muted allowlist to re-enable this
feature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant