Lines Matching refs:prhd

102 convert_type (const LADSPA_PortRangeHintDescriptor prhd)  in convert_type()  argument
104 if (LADSPA_IS_HINT_TOGGLED(prhd)) in convert_type()
106 else if (LADSPA_IS_HINT_INTEGER(prhd)) in convert_type()
113 get_valid_mask (const LADSPA_PortRangeHintDescriptor prhd) in get_valid_mask() argument
117 if (LADSPA_IS_HINT_BOUNDED_BELOW(prhd)) in get_valid_mask()
119 if (LADSPA_IS_HINT_BOUNDED_ABOVE(prhd)) in get_valid_mask()
130 LADSPA_PortRangeHintDescriptor prhd = prh->HintDescriptor; in convert_constraint() local
133 if (LADSPA_IS_HINT_TOGGLED(prhd)) in convert_constraint()
138 pr->valid_mask = get_valid_mask (prhd); in convert_constraint()
143 if LADSPA_IS_HINT_SAMPLE_RATE (prhd) { in convert_constraint()
153 if (LADSPA_IS_HINT_INTEGER(prhd)) { in convert_constraint()
154 if (LADSPA_IS_HINT_BOUNDED_BELOW(prhd)) in convert_constraint()
156 if (LADSPA_IS_HINT_BOUNDED_ABOVE(prhd)) in convert_constraint()
159 if (LADSPA_IS_HINT_BOUNDED_BELOW(prhd)) in convert_constraint()
161 if (LADSPA_IS_HINT_BOUNDED_ABOVE(prhd)) in convert_constraint()
192 LADSPA_PortRangeHintDescriptor prhd = prh->HintDescriptor; in convert_default() local
199 bounded = LADSPA_IS_HINT_BOUNDED_BELOW (prhd) && in convert_default()
200 LADSPA_IS_HINT_BOUNDED_ABOVE (prhd); in convert_default()
205 if LADSPA_IS_HINT_SAMPLE_RATE (prhd) { in convert_default()
212 if (!LADSPA_IS_HINT_HAS_DEFAULT (prhd)) { in convert_default()
214 } else if (LADSPA_IS_HINT_DEFAULT_MINIMUM (prhd)) { in convert_default()
216 } else if (bounded && LADSPA_IS_HINT_DEFAULT_LOW (prhd)) { in convert_default()
217 if (LADSPA_IS_HINT_LOGARITHMIC (prhd)) { in convert_default()
222 } else if (bounded && LADSPA_IS_HINT_DEFAULT_MIDDLE (prhd)) { in convert_default()
223 if (LADSPA_IS_HINT_LOGARITHMIC (prhd)) { in convert_default()
228 } else if (bounded && LADSPA_IS_HINT_DEFAULT_HIGH (prhd)) { in convert_default()
229 if (LADSPA_IS_HINT_LOGARITHMIC (prhd)) { in convert_default()
234 } else if (LADSPA_IS_HINT_DEFAULT_MAXIMUM (prhd)) { in convert_default()
236 } else if (LADSPA_IS_HINT_DEFAULT_0 (prhd)) { in convert_default()
238 } else if (LADSPA_IS_HINT_DEFAULT_1 (prhd)) { in convert_default()
240 } else if (LADSPA_IS_HINT_DEFAULT_100 (prhd)) { in convert_default()
242 } else if (LADSPA_IS_HINT_DEFAULT_440 (prhd)) { in convert_default()
250 if (LADSPA_IS_HINT_TOGGLED (prhd)) { in convert_default()
252 } else if (LADSPA_IS_HINT_INTEGER (prhd)) { in convert_default()