mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-11-01 22:58:49 -04:00
ucm: allow syntax version 3
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
parent
04c77aa7f4
commit
9c88ead1bb
2 changed files with 2 additions and 1 deletions
|
|
@ -1804,6 +1804,7 @@ static int parse_master_file(snd_use_case_mgr_t *uc_mgr, snd_config_t *cfg)
|
||||||
}
|
}
|
||||||
/* delete this field to avoid strcmp() call in the loop */
|
/* delete this field to avoid strcmp() call in the loop */
|
||||||
snd_config_delete(n);
|
snd_config_delete(n);
|
||||||
|
uc_mgr->conf_format = l;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* in-place evaluation */
|
/* in-place evaluation */
|
||||||
|
|
|
||||||
|
|
@ -40,7 +40,7 @@
|
||||||
#include <pthread.h>
|
#include <pthread.h>
|
||||||
#include "use-case.h"
|
#include "use-case.h"
|
||||||
|
|
||||||
#define SYNTAX_VERSION_MAX 2
|
#define SYNTAX_VERSION_MAX 3
|
||||||
|
|
||||||
#define MAX_CARD_SHORT_NAME 32
|
#define MAX_CARD_SHORT_NAME 32
|
||||||
#define MAX_CARD_LONG_NAME 80
|
#define MAX_CARD_LONG_NAME 80
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue