config_query_option PULSEAUDIO_OPTS "Enable Adrian's echo canceller?" n \
                                    "--enable-adrian-aec" \
                                    "--disable-adrian-aec" &&

# backporting legacy options
for o in PULSE_OSS PULSE_IP6; do
  if [[ -n ${!o} ]]; then
    list_add "PULSEAUDIO_OPTS" "${!o}"
    persistent_remove ${o}
  fi
done &&

config_query_option PULSEAUDIO_OPTS "Enable OSS output support?" n \
                                    "--enable-oss-output --enable-oss-wrapper" \
                                    "--disable-oss-output --disable-oss-wrapper" &&

config_query_option PULSEAUDIO_OPTS "Enable IPv6 support?" n \
                                    "--enable-ipv6" \
                                    "--disable-ipv6" &&

config_query_list PULSE_DB 'which configuration database do you want?' gdbm tdb simple auto
