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

Alsa mixer as volume control (-V) #3

Closed
Knitas opened this issue Jan 4, 2016 · 5 comments
Closed

Alsa mixer as volume control (-V) #3

Knitas opened this issue Jan 4, 2016 · 5 comments

Comments

@Knitas
Copy link

Knitas commented Jan 4, 2016

Hi,
Is it possible to point the -V command to a specific device?

In a setup with RPI > piCore > USB dac (Dragonfly (with ESS9023)), Card0 (internal RPI audio) and card1 (DF) share the name: 'PCM' under the Alsa volume slider. When adding '-V PCM', the Alsa volume of Card0 can be controlled. I should want to control Card1, DF. Tried to disable internal RPI audio. DF is then Card0, but the Alsa volume reset's to zero when moving remote volume +/-.

Great work and kind regards,
Hans

@Knitas Knitas changed the title Alsa mixer as volume control Alsa mixer as volume control (-V) Jan 4, 2016
@ralph-irving
Copy link
Owner

Hans,

Please try this build. I don't have two alsa devices with the same mixer name to confirm.
http://ralph_irving.users.sourceforge.net/pico/squeezelite-rpi

Thanks,
Ralphy

@Knitas
Copy link
Author

Knitas commented Jan 21, 2016

Ralphy,

Thanks you.

The file has no extension. What to do to execute it in the piCore/RPI?

Hans

2016-01-21 16:33 GMT+01:00 Ralph Irving notifications@github.com:

Hans,

Please try this build. I don't have two alsa devices with the same mixer
name to confirm.
http://ralph_irving.users.sourceforge.net/pico/squeezelite-rpi

Thanks,
Ralphy


Reply to this email directly or view it on GitHub
#3 (comment)
.

@ralph-irving
Copy link
Owner

It's a replacement binary for picoreplayer.
Stop squeezelite from webgui
ssh -l tc picoreplayer.local
cd /mnt/mmcblk0p2/tce
wget -O squeezelite-armv6hf http://ralph_irving.users.sourceforge.net/pico/squeezelite-rpi
chmod 775 squeezelite-armv6hf
Start squeezelite from webgui

@Knitas
Copy link
Author

Knitas commented Jan 21, 2016

​Results

The good;
When selecting Card1 (hw:1) in 'output setting' and -V PCM in 'various
input', Alsa volumeslider Card1 responds when touching remote volume. Ok.

What not changed is that Dragonfly's Alsa volume slider only reset's to
zero when touching the remote volume. When moving the slider up and down
with the arrow keys, it works ok, also the sound level output.

Could this be a usb (driver) issue? (with internal RPI audio it works like it should)

@ralph-irving
Copy link
Owner

Any comments regarding the Dragonfly I make would just be speculation. As the correct PCM mixer device is now used with -V. I'm resolving this issue.

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

2 participants