mirror of
https://github.com/alsa-project/alsa-tools.git
synced 2025-10-31 22:25:34 -04:00
hdspmixer: Add a 9th pseudo preset
When switching cards, all current settings are lost. To have a place where to store them, let's add a virtual 9th preset which can be used as a temporary scratch pad. Signed-off-by: Adrian Knoth <adi@drcomp.erfurt.thur.de> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
c975369874
commit
0b018d9a23
7 changed files with 13 additions and 7 deletions
|
|
@ -49,6 +49,12 @@
|
|||
|
||||
#define MAX_CARDS 3
|
||||
|
||||
/* Number of presets. 8 presets visible to the user, the 9th is used for
|
||||
* holding temporary mixer data when switching cards, so it's not a real
|
||||
* preset but more like a scratch pad.
|
||||
*/
|
||||
#define NUM_PRESETS 9
|
||||
|
||||
typedef unsigned long long int int64;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue