GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
Already on GitHub? Sign in to your account
When opening a new connection, the card resets back to its default volume. Eg lower the volume, and then start a process to playback sound - it will play at its default level, until volume is altered, causing a quick change in output volume.
Is this because the hw doesn't persist a value for volume/attentuation between playback connections?
If so, the driver should probably persist a value during its runtime and reapply that to newly opened pcm stream connections before playback.
A recent patch should fix this issue which can be obtained through rpi-update.
Thanks for the update!
Unfortunately I am not getting any sound at all now (except for the clicking when playback starts). I checked the volume in alsamixer but it seems like I can not set it anymore. The volume bar immediately drops to zero as soon as I release the up- or pageup-key.
Is it muted? (press m in alsamixer to toggle mute).
Can you confirm exactly what you type in from boot to see the problem.
It was muted, lol. Alsamixer even displayed that but I thought it would automatically unmute when increasing volume - my fault. Thanks for the tip!
Volume settings are now kept correctly, even after reboot - nice! :)
Closing as we believe this is fixed. Please reopen if there are still problems.