Home
last modified time | relevance | path

Searched refs:snd_interval_t (Results 1 – 12 of 12) sorted by relevance

/third_party/alsa-lib/src/pcm/
Dinterval.h22 typedef struct _snd_interval snd_interval_t; typedef
27 void snd_interval_any(snd_interval_t *i);
28 void snd_interval_none(snd_interval_t *i);
29 int snd_interval_setinteger(snd_interval_t *i);
30 int snd_interval_empty(const snd_interval_t *i);
31 int snd_interval_single(const snd_interval_t *i);
32 int snd_interval_value(const snd_interval_t *i);
33 void snd_interval_set_value(snd_interval_t *i, unsigned int val);
34 int snd_interval_min(const snd_interval_t *i);
35 int snd_interval_max(const snd_interval_t *i);
[all …]
Dinterval_inline.h24 INTERVAL_INLINE void snd_interval_any(snd_interval_t *i) in snd_interval_any()
34 INTERVAL_INLINE void snd_interval_none(snd_interval_t *i) in snd_interval_none()
39 INTERVAL_INLINE int snd_interval_checkempty(const snd_interval_t *i) in snd_interval_checkempty()
45 INTERVAL_INLINE int snd_interval_empty(const snd_interval_t *i) in snd_interval_empty()
50 INTERVAL_INLINE int snd_interval_single(const snd_interval_t *i) in snd_interval_single()
57 INTERVAL_INLINE int snd_interval_value(const snd_interval_t *i) in snd_interval_value()
65 INTERVAL_INLINE void snd_interval_set_value(snd_interval_t *i, unsigned int val) in snd_interval_set_value()
73 INTERVAL_INLINE int snd_interval_min(const snd_interval_t *i) in snd_interval_min()
79 INTERVAL_INLINE int snd_interval_max(const snd_interval_t *i) in snd_interval_max()
85 INTERVAL_INLINE void snd_interval_set_minmax(snd_interval_t *i, unsigned int min, unsigned int max) in snd_interval_set_minmax()
[all …]
Dinterval.c105 int snd_interval_refine_min(snd_interval_t *i, unsigned int min, int openmin) in snd_interval_refine_min()
131 int snd_interval_refine_max(snd_interval_t *i, unsigned int max, int openmax) in snd_interval_refine_max()
158 int snd_interval_refine(snd_interval_t *i, const snd_interval_t *v) in snd_interval_refine()
201 int snd_interval_refine_first(snd_interval_t *i) in snd_interval_refine_first()
217 int snd_interval_refine_last(snd_interval_t *i) in snd_interval_refine_last()
233 int snd_interval_refine_set(snd_interval_t *i, unsigned int val) in snd_interval_refine_set()
235 snd_interval_t t; in snd_interval_refine_set()
243 void snd_interval_add(const snd_interval_t *a, const snd_interval_t *b, snd_interval_t *c) in snd_interval_add()
257 void snd_interval_sub(const snd_interval_t *a, const snd_interval_t *b, snd_interval_t *c) in snd_interval_sub()
271 void snd_interval_mul(const snd_interval_t *a, const snd_interval_t *b, snd_interval_t *c) in snd_interval_mul()
[all …]
Dpcm_direct.h84 snd_interval_t rate;
85 snd_interval_t buffer_size;
86 snd_interval_t buffer_time;
87 snd_interval_t period_size;
88 snd_interval_t period_time;
89 snd_interval_t periods;
100 snd_interval_t periods;
119 snd_interval_t buffer_time;
Dpcm_ext_parm.h17 static inline snd_interval_t *hw_param_interval(snd_pcm_hw_params_t *params, in hw_param_interval()
40 int snd_interval_list(snd_interval_t *ival, int num_list, unsigned int *list);
41 int snd_ext_parm_interval_refine(snd_interval_t *ival, struct snd_ext_parm *parm, int type);
Dpcm_params.c143 const snd_interval_t *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_get()
169 const snd_interval_t *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_get_min()
194 const snd_interval_t *i = hw_param_interval_c(params, var); in snd_pcm_hw_param_get_max()
219 const snd_interval_t *snd_pcm_hw_param_get_interval(const snd_pcm_hw_params_t *params, in snd_pcm_hw_param_get_interval()
230 const snd_interval_t *val) in _snd_pcm_hw_param_set_interval()
591 snd_interval_t *i = hw_param_interval(params, var); in _snd_pcm_hw_param_set_minmax()
678 snd_interval_t *i = hw_param_interval(params, var); in _snd_pcm_hw_param_set()
685 snd_interval_t t; in _snd_pcm_hw_param_set()
823 snd_interval_t *i; in snd_pcm_hw_param_set_near()
1004 const snd_interval_t *it = hw_param_interval_c(src, var); in snd_pcm_hw_param_refine_multiple()
[all …]
Dpcm_extplug.c111 int snd_interval_list(snd_interval_t *ival, int num_list, unsigned int *list) in snd_interval_list()
148 int snd_ext_parm_interval_refine(snd_interval_t *ival, struct snd_ext_parm *parm, int type) in snd_ext_parm_interval_refine()
157 snd_interval_t t; in snd_ext_parm_interval_refine()
Dpcm_plug.c794 snd_interval_t t, buffer_size; in snd_pcm_plug_hw_refine_schange()
795 const snd_interval_t *srate, *crate; in snd_pcm_plug_hw_refine_schange()
894 snd_interval_t t; in snd_pcm_plug_hw_refine_cchange()
895 const snd_interval_t *sbuffer_size; in snd_pcm_plug_hw_refine_cchange()
896 const snd_interval_t *srate, *crate; in snd_pcm_plug_hw_refine_cchange()
Dpcm_rate.c175 snd_interval_t t, buffer_size; in snd_pcm_rate_hw_refine_schange()
176 const snd_interval_t *srate, *crate; in snd_pcm_rate_hw_refine_schange()
204 snd_interval_t t; in snd_pcm_rate_hw_refine_cchange()
208 const snd_interval_t *sbuffer_size, *buffer_size; in snd_pcm_rate_hw_refine_cchange()
209 const snd_interval_t *srate, *crate; in snd_pcm_rate_hw_refine_cchange()
235 snd_interval_t *period_size; in snd_pcm_rate_hw_refine_cchange()
236 …period_size = (snd_interval_t *)snd_pcm_hw_param_get_interval(params, SND_PCM_HW_PARAM_PERIOD_SIZE… in snd_pcm_rate_hw_refine_cchange()
Dpcm_ioplug.c198 snd_interval_t t; in rule_mul()
208 snd_interval_t t; in rule_div()
218 snd_interval_t t; in rule_muldivk()
228 snd_interval_t t; in rule_mulkdiv()
Dpcm_direct.c789 static inline snd_interval_t *hw_param_interval(snd_pcm_hw_params_t *params,
797 snd_interval_t *src)
799 snd_interval_t *i;
818 snd_interval_t t;
924 snd_interval_t period_size = dshare->shmptr->hw.period_size;
925 snd_interval_t period_time = dshare->shmptr->hw.period_time;
Dpcm_local.h209 snd_interval_t periods;
228 snd_interval_t buffer_time;
739 const snd_interval_t *val);
794 const snd_interval_t *snd_pcm_hw_param_get_interval(const snd_pcm_hw_params_t *params,