Home
last modified time | relevance | path

Searched refs:PA_DECIBEL_MININFTY (Results 1 – 4 of 4) sorted by relevance

/third_party/pulseaudio/src/pulse/
Dohos_pa_volume.c245 if (dB == -INFINITY || dB <= PA_DECIBEL_MININFTY) in pa_sw_volume_from_dB()
248 if (isinf(dB) < 0 || dB <= PA_DECIBEL_MININFTY) in pa_sw_volume_from_dB()
257 pa_return_val_if_fail(PA_VOLUME_IS_VALID(v), PA_DECIBEL_MININFTY); in pa_sw_volume_to_dB()
260 return PA_DECIBEL_MININFTY; in pa_sw_volume_to_dB()
370 f == -INFINITY || f <= PA_DECIBEL_MININFTY ? -INFINITY : f); in pa_sw_cvolume_snprint_dB()
375 isinf(f) < 0 || f <= PA_DECIBEL_MININFTY ? -INFINITY : f); in pa_sw_cvolume_snprint_dB()
442 pa_snprintf(s, l, "%0.2f dB", f == -INFINITY || f <= PA_DECIBEL_MININFTY ? -INFINITY : f); in pa_sw_volume_snprint_dB()
444 pa_snprintf(s, l, "%0.2f dB", isinf(f) < 0 || f <= PA_DECIBEL_MININFTY ? -INFINITY : f); in pa_sw_volume_snprint_dB()
Dvolume.h322 #define PA_DECIBEL_MININFTY ((double) -INFINITY) macro
325 #define PA_DECIBEL_MININFTY ((double) -200.0) macro
Dvolume.c244 if (isinf(dB) < 0 || dB <= PA_DECIBEL_MININFTY) in pa_sw_volume_from_dB()
252 pa_return_val_if_fail(PA_VOLUME_IS_VALID(v), PA_DECIBEL_MININFTY); in pa_sw_volume_to_dB()
255 return PA_DECIBEL_MININFTY; in pa_sw_volume_to_dB()
364 isinf(f) < 0 || f <= PA_DECIBEL_MININFTY ? -INFINITY : f); in pa_sw_cvolume_snprint_dB()
429 pa_snprintf(s, l, "%0.2f dB", isinf(f) < 0 || f <= PA_DECIBEL_MININFTY ? -INFINITY : f); in pa_sw_volume_snprint_dB()
/third_party/pulseaudio/vala/
Dlibpulse.vapi232 [CCode (cname="PA_DECIBEL_MININFTY")]