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

Pre-existing ALSA volume not used when opening new playback connections #8

Closed
benosteen opened this issue Apr 20, 2012 · 6 comments
Closed

Comments

@benosteen
Copy link

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.

@groe
Copy link

groe commented Jun 29, 2012

+1

@dozzman
Copy link

dozzman commented Aug 10, 2012

A recent patch should fix this issue which can be obtained through rpi-update.

@groe
Copy link

groe commented Aug 11, 2012

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.

Any ideas?

@popcornmix
Copy link
Contributor

Is it muted? (press m in alsamixer to toggle mute).

Can you confirm exactly what you type in from boot to see the problem.

@groe
Copy link

groe commented Aug 11, 2012

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! :)

@popcornmix
Copy link
Contributor

Closing as we believe this is fixed. Please reopen if there are still problems.

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

4 participants