Home
last modified time | relevance | path

Searched refs:openmin (Results 1 – 8 of 8) sorted by relevance

/third_party/alsa-lib/src/pcm/
Dinterval.c105 int snd_interval_refine_min(snd_interval_t *i, unsigned int min, int openmin) in snd_interval_refine_min() argument
112 i->openmin = openmin; in snd_interval_refine_min()
114 } else if (i->min == min && !i->openmin && openmin) { in snd_interval_refine_min()
115 i->openmin = 1; in snd_interval_refine_min()
119 if (i->openmin) { in snd_interval_refine_min()
121 i->openmin = 0; in snd_interval_refine_min()
165 i->openmin = v->openmin; in snd_interval_refine()
167 } else if (i->min == v->min && !i->openmin && v->openmin) { in snd_interval_refine()
168 i->openmin = 1; in snd_interval_refine()
184 if (i->openmin) { in snd_interval_refine()
[all …]
Dinterval_inline.h27 i->openmin = 0; in snd_interval_any()
42 (i->min == i->max && (i->openmin || i->openmax))); in snd_interval_checkempty()
54 (i->min + 1 == i->max && (i->openmin || i->openmax))); in snd_interval_single()
60 if (i->openmin && !i->openmax) in snd_interval_value()
67 i->openmax = i->openmin = 0; in snd_interval_set_value()
87 i->openmax = i->openmin = 0; in snd_interval_set_minmax()
96 return !((i->min > val || (i->min == val && i->openmin) || in snd_interval_test()
109 if (i->openmin && i->openmax && i->min == i->max) in snd_interval_setinteger()
119 i->openmin = 0; in snd_interval_floor()
152 (i1->openmax || i1->openmin)) || in snd_interval_never_eq()
[all …]
Dpcm_params.c147 *dir = i->openmin; in snd_pcm_hw_param_get()
172 *dir = i->openmin; in snd_pcm_hw_param_get_min()
399 int openmin = 0; in _snd_pcm_hw_param_set_min() local
402 openmin = 1; in _snd_pcm_hw_param_set_min()
405 openmin = 1; in _snd_pcm_hw_param_set_min()
411 changed = snd_mask_refine_min(hw_param_mask(params, var), val + !!openmin); in _snd_pcm_hw_param_set_min()
413 changed = snd_interval_refine_min(hw_param_interval(params, var), val, openmin); in _snd_pcm_hw_param_set_min()
553 int openmin = 0, openmax = 0; in _snd_pcm_hw_param_set_minmax() local
556 openmin = 1; in _snd_pcm_hw_param_set_minmax()
559 openmin = 1; in _snd_pcm_hw_param_set_minmax()
[all …]
Dinterval.h72 int snd_interval_refine_min(snd_interval_t *i, unsigned int min, int openmin);
Dpcm_extplug.c119 if (ival->min == list[imin] && ! ival->openmin) in snd_interval_list()
123 ival->openmin = 0; in snd_interval_list()
Dpcm_direct.c833 if (n != 0 || i->openmin) {
Dpcm_rate.c238 period_size->openmin && period_size->openmax && in snd_pcm_rate_hw_refine_cchange()
/third_party/alsa-lib/include/sound/uapi/
Dasound.h395 unsigned int openmin:1, member