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

setting volume for alsa output is either 0 or 100%, nothing in between an dvolume reported is wrong #2170

Open
solsticedhiver opened this issue Dec 17, 2024 · 0 comments

Comments

@solsticedhiver
Copy link

solsticedhiver commented Dec 17, 2024

On latest mpd git (b1677bf), I can no longer properly control the volume of the alsa output (USB device)

If it is at zero, no sound as expected.
But as soon as I increase it to 5%, the alsa output is set to max volume. I can double check that in alsamixer where I can see the volume at 100% for that output.

So the volume is either null or at full volume, while mpd reports a volume at whatever percent it think it is. In my example, it reports it at 5%.

This is happening with mpc or mympd client, the same way.

This was working perfectly fine on 0.23.15

# part of my mpd.conf
audio_output {
        type            "alsa"
        name            "ALSA output"
        device          "hw:1,0"        # optional
        mixer_type      "hardware"
        mixer_device    "hw:1"
        mixer_control   "Speaker"
        mixer_index     "0"
        buffer_time     "200000"
        period_time     "5084"
}

mpd is running on a rpi3b (armv7), 32bit, with archlinuxARM, linux 6.12.5, alsa-lib 1.2.13, alsa-plugins 1.2.12, and a USB card (Unitek Y-247A)

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

No branches or pull requests

1 participant