Module libpulse_sys::volume [] [src]

Constants and routines for volume handling.

Structs

pa_cvolume

Constants

PA_CVOLUME_SNPRINT_MAX

The maximum length of strings returned by pa_cvolume_snprint. Please note that this value can change with any release without warning and without being considered API or ABI breakage. You should not use this definition anywhere where it might become part of an ABI.

PA_CVOLUME_SNPRINT_VERBOSE_MAX

The maximum length of strings returned by pa_cvolume_snprint_verbose. Please note that this value can change with any release without warning and without being considered API or ABI breakage. You should not use this definition anywhere where it might become part of an ABI.

PA_DECIBEL_MININFTY

This floor value is used as minus infinity when using pa_sw_volume_to_dB / pa_sw_volume_from_dB.

PA_SW_CVOLUME_SNPRINT_DB_MAX

The maximum length of strings returned by pa_sw_cvolume_snprint_dB. Please note that this value can change with any release without warning and without being considered API or ABI breakage. You should not use this definition anywhere where it might become part of an ABI.

PA_SW_VOLUME_SNPRINT_DB_MAX

The maximum length of strings returned by pa_sw_volume_snprint_dB. Please note that this value can change with any release without warning and without being considered API or ABI breakage. You should not use this definition anywhere where it might become part of an ABI.

PA_VOLUME_INVALID

Special 'invalid' volume

PA_VOLUME_MAX

Maximum valid volume we can store

PA_VOLUME_MUTED

Muted (minimal valid) volume (0%, -inf dB)

PA_VOLUME_NORM

Normal volume (100%, 0 dB)

PA_VOLUME_SNPRINT_MAX

The maximum length of strings returned by pa_volume_snprint. Please note that this value can change with any release without warning and without being considered API or ABI breakage. You should not use this definition anywhere where it might become part of an ABI.

PA_VOLUME_SNPRINT_VERBOSE_MAX

The maximum length of strings returned by pa_volume_snprint_verbose, as per the underlying C function. Please note that this value can change with any release without warning and without being considered API or ABI breakage. You should not use this definition anywhere where it might become part of an ABI.

Functions

pa_clamp_volume
pa_cvolume_avg
pa_cvolume_avg_mask
pa_cvolume_channels_equal_to
pa_cvolume_compatible
pa_cvolume_compatible_with_channel_map
pa_cvolume_dec
pa_cvolume_equal
pa_cvolume_get_balance
pa_cvolume_get_fade
pa_cvolume_get_lfe_balance
pa_cvolume_get_position
pa_cvolume_inc
pa_cvolume_inc_clamp
pa_cvolume_init
pa_cvolume_max
pa_cvolume_max_mask
pa_cvolume_merge
pa_cvolume_min
pa_cvolume_min_mask
pa_cvolume_mute

Set the volume of the first n channels to PA_VOLUME_MUTED

pa_cvolume_remap
pa_cvolume_reset

Set the volume of the first n channels to PA_VOLUME_NORM

pa_cvolume_scale
pa_cvolume_scale_mask
pa_cvolume_set
pa_cvolume_set_balance
pa_cvolume_set_fade
pa_cvolume_set_lfe_balance
pa_cvolume_set_position
pa_cvolume_snprint
pa_cvolume_snprint_verbose
pa_cvolume_valid
pa_sw_cvolume_divide
pa_sw_cvolume_divide_scalar
pa_sw_cvolume_multiply
pa_sw_cvolume_multiply_scalar
pa_sw_cvolume_snprint_dB
pa_sw_volume_divide
pa_sw_volume_from_dB
pa_sw_volume_from_linear
pa_sw_volume_multiply
pa_sw_volume_snprint_dB
pa_sw_volume_to_dB
pa_sw_volume_to_linear
pa_volume_is_valid
pa_volume_snprint
pa_volume_snprint_verbose
pa_volume_ui_max

Type Definitions

pa_volume_t

The basic volume type