Cargo Features

[dependencies]
libpulse-sys = { version = "1.21.0", default-features = false, features = ["pa_v15", "pa_v14", "pa_v13", "pa_v12", "pa_v8", "pa_v6"] }
default = pa_v8

The pa_v8 feature is set by default whenever libpulse-sys is added without default-features = false somewhere in the dependency tree.

pa_v15 = pa_v14

PA version compatibility selection See the overall project COMPATIBILITY.md file for explanation.

Affects introspect::pa_context_string_cb_t, introspect::pa_context_send_message_to_object

pa_v14 pa_v15? = pa_v13

Affects introspect::pa_sink_port_info.availability_group, introspect::pa_sink_port_info.r#type, introspect::pa_source_port_info.availability_group, introspect::pa_source_port_info.r#type, introspect::pa_card_port_info.availability_group, introspect::pa_card_port_info.r#type

pa_v13 pa_v14? = pa_v12

Affects format::PA_ENCODING_TRUEHD_IEC61937, format::PA_ENCODING_DTSHD_IEC61937, format::pa_format_info_get_sample_format, format::pa_format_info_get_rate, format::pa_format_info_get_channels, format::pa_format_info_get_channel_map, threaded::pa_threaded_mainloop_once_unlocked, util::pa_thread_make_realtime

pa_v12 pa_v13? = pa_v8

Affects format::pa_encoding_from_string

pa_v8 default pa_v12? = pa_v6

Affects channelmap::pa_channel_map_can_lfe_balance, volume::pa_cvolume_get_lfe_balance, volume::pa_cvolume_set_lfe_balance

pa_v6 pa_v8

Affects direction::pa_direction_valid, direction::pa_direction_to_string, stream::pa_stream_write_ext_free