Discussion:
[Alsa-user] custom controls for alsamixer
Stefan Sauer
2017-05-18 15:08:30 UTC
Permalink
Hi,

for a raspberry pi i2s audio addon we use this snippet in the asoundrc:

pcm.micboost {
type route
slave.pcm dsnoop
ttable {
0.0 30.0
1.1 30.0
}
}

The hardware has no mixer. Now we'd like to make the "30.0" a value to
be exposed as a control, so that e.g. alsamixer would show it. If seen
that there is a control { } block, but I can't find docs for it. Any
pointers.

Stefan
Clemens Ladisch
2017-05-18 16:04:31 UTC
Permalink
Post by Stefan Sauer
pcm.micboost {
type route
slave.pcm dsnoop
ttable {
0.0 30.0
1.1 30.0
}
}
The hardware has no mixer. Now we'd like to make the "30.0" a value to
be exposed as a control, so that e.g. alsamixer would show it. If seen
that there is a control { } block, but I can't find docs for it.
Only the softvol plugin has the ability to change the volumn dynamically.


Regards,
Clemens
Stefan Sauer
2017-05-21 10:09:42 UTC
Permalink
Post by Clemens Ladisch
Post by Stefan Sauer
pcm.micboost {
type route
slave.pcm dsnoop
ttable {
0.0 30.0
1.1 30.0
}
}
The hardware has no mixer. Now we'd like to make the "30.0" a value to
be exposed as a control, so that e.g. alsamixer would show it. If seen
that there is a control { } block, but I can't find docs for it.
Only the softvol plugin has the ability to change the volumn dynamically.
Can I apply softvol to an input?

Stefan
Post by Clemens Ladisch
Regards,
Clemens
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Alsa-user mailing list
https://lists.sourceforge.net/lists/listinfo/alsa-user
Clemens Ladisch
2017-05-21 11:18:38 UTC
Permalink
Post by Stefan Sauer
Can I apply softvol to an input?
Yes.


Regards,
Clemens

Loading...