mirror of
https://github.com/alsa-project/alsa-lib.git
synced 2025-12-16 08:56:42 -05:00
Runtime hw_info constraints support. New hw_info with lengths
This commit is contained in:
parent
b6134d77c1
commit
714ac32b5e
7 changed files with 190 additions and 271 deletions
|
|
@ -109,7 +109,7 @@ typedef struct _snd_pcm_strategy snd_pcm_strategy_t;
|
|||
|
||||
/* choices need to be sorted on ascending badness */
|
||||
typedef struct _snd_pcm_strategy_simple_choices_list {
|
||||
unsigned long value;
|
||||
unsigned int value;
|
||||
unsigned int badness;
|
||||
} snd_pcm_strategy_simple_choices_list_t;
|
||||
|
||||
|
|
@ -122,7 +122,7 @@ int snd_pcm_strategy_simple(snd_pcm_strategy_t **strategyp,
|
|||
unsigned int badness_max);
|
||||
int snd_pcm_strategy_simple_near(snd_pcm_strategy_t *strategy, int order,
|
||||
unsigned int param,
|
||||
unsigned long best,
|
||||
unsigned int best,
|
||||
unsigned int mul);
|
||||
int snd_pcm_strategy_simple_choices(snd_pcm_strategy_t *strategy, int order,
|
||||
unsigned int param,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue