mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-29 05:40:25 -04:00
envy24control save state of LRGang button in config file
From: Dirk Jagdmann <doj@cubic.org> The last mail I sent for this topic contained a non functional patch, which has not been included in CVS yet. I resend the patch, which should now work.
This commit is contained in:
parent
603e129bc5
commit
1d0881e212
3 changed files with 10 additions and 2 deletions
|
|
@ -19,6 +19,7 @@
|
|||
|
||||
#include "envy24control.h"
|
||||
#include "midi.h"
|
||||
#include "config.h"
|
||||
|
||||
#define MULTI_PLAYBACK_SWITCH "Multi Playback Switch"
|
||||
#define MULTI_PLAYBACK_VOLUME "Multi Playback Volume"
|
||||
|
|
@ -268,4 +269,6 @@ void mixer_postinit(void)
|
|||
if (stream_is_active[stream - 1])
|
||||
mixer_update_stream(stream, 1, 1);
|
||||
}
|
||||
|
||||
config_restore_stereo();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue