mirror of
https://github.com/alsa-project/alsa-utils
synced 2025-01-05 16:36:44 +01:00
Fix for tone control
This commit is contained in:
parent
2dd5cd1273
commit
2e2c534aba
1 changed files with 1 additions and 0 deletions
|
@ -717,6 +717,7 @@ static void mixer_tone_control1(int end)
|
||||||
|
|
||||||
static void mixer_tone_control1_value(unsigned int effect, int val)
|
static void mixer_tone_control1_value(unsigned int effect, int val)
|
||||||
{
|
{
|
||||||
|
Xelement->element.data.tc1.tc |= effect;
|
||||||
switch (effect) {
|
switch (effect) {
|
||||||
case SND_MIXER_TC1_SW:
|
case SND_MIXER_TC1_SW:
|
||||||
Xelement->element.data.tc1.sw = val ? 1 : 0;
|
Xelement->element.data.tc1.sw = val ? 1 : 0;
|
||||||
|
|
Loading…
Reference in a new issue