<?xml version="1.0" encoding="UTF-8"?>
<ui version="4.0">
 <class>BackendSettingsPage</class>
 <widget class="QWidget" name="BackendSettingsPage">
  <property name="geometry">
   <rect>
    <x>0</x>
    <y>0</y>
    <width>717</width>
    <height>1259</height>
   </rect>
  </property>
  <property name="windowTitle">
   <string>Backend</string>
  </property>
  <layout class="QVBoxLayout" name="layout_backendsettingspage">
   <item>
    <widget class="QGroupBox" name="groupbox_audio_output">
     <property name="title">
      <string>Audio output</string>
     </property>
     <layout class="QVBoxLayout" name="layout_audio_output">
      <item>
       <layout class="QGridLayout" name="layout_engine_output_device">
        <item row="4" column="0">
         <widget class="QLabel" name="label_device">
          <property name="text">
           <string>Device</string>
          </property>
         </widget>
        </item>
        <item row="5" column="1">
         <widget class="LineEdit" name="lineedit_device" native="true">
          <property name="enabled">
           <bool>true</bool>
          </property>
          <property name="minimumSize">
           <size>
            <width>0</width>
            <height>20</height>
           </size>
          </property>
          <property name="hint" stdset="0">
           <string/>
          </property>
         </widget>
        </item>
        <item row="3" column="1">
         <widget class="QComboBox" name="combobox_output">
          <property name="enabled">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item row="3" column="0">
         <widget class="QLabel" name="label_output">
          <property name="text">
           <string>Output</string>
          </property>
         </widget>
        </item>
        <item row="4" column="1">
         <widget class="QComboBox" name="combobox_device">
          <property name="enabled">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item row="0" column="1">
         <widget class="QComboBox" name="combobox_engine">
          <property name="enabled">
           <bool>false</bool>
          </property>
         </widget>
        </item>
        <item row="0" column="0">
         <widget class="QLabel" name="label_engine">
          <property name="text">
           <string>Engine</string>
          </property>
         </widget>
        </item>
       </layout>
      </item>
      <item>
       <widget class="QWidget" name="widget_alsa_plugin" native="true">
        <property name="enabled">
         <bool>false</bool>
        </property>
        <layout class="QHBoxLayout" name="layout_alsa_plugin">
         <property name="leftMargin">
          <number>0</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QLabel" name="label_alsaplugin">
           <property name="text">
            <string>ALSA plugin:</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QRadioButton" name="radiobutton_alsa_hw">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="text">
            <string>hw</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QRadioButton" name="radiobutton_alsa_plughw">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="text">
            <string>p&amp;lughw</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QRadioButton" name="radiobutton_alsa_pcm">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <property name="text">
            <string>pcm</string>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="spacer_alsaplugin">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>0</width>
             <height>0</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </widget>
      </item>
      <item>
       <widget class="QWidget" name="widget_exclusive_mode" native="true">
        <layout class="QHBoxLayout" name="layout_exclusive_mode">
         <property name="spacing">
          <number>0</number>
         </property>
         <property name="leftMargin">
          <number>0</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QCheckBox" name="checkbox_exclusive_mode">
           <property name="text">
            <string>Exclusive mode (Experimental)</string>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="spacer_exclusive_mode">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>40</width>
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox">
     <property name="title">
      <string>Options</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_2">
      <item>
       <widget class="QCheckBox" name="checkbox_volume_control">
        <property name="text">
         <string>Enable volume control</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QWidget" name="widget_channels_enabled" native="true">
        <layout class="QHBoxLayout" name="horizontalLayout">
         <property name="leftMargin">
          <number>0</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QCheckBox" name="checkbox_channels">
           <property name="text">
            <string>Upmix / downmix to</string>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QWidget" name="widget_channels" native="true">
           <layout class="QHBoxLayout" name="horizontalLayout_3">
            <property name="leftMargin">
             <number>0</number>
            </property>
            <property name="topMargin">
             <number>0</number>
            </property>
            <property name="rightMargin">
             <number>0</number>
            </property>
            <property name="bottomMargin">
             <number>0</number>
            </property>
            <item>
             <widget class="QSpinBox" name="spinbox_channels">
              <property name="minimum">
               <number>1</number>
              </property>
              <property name="maximum">
               <number>20</number>
              </property>
              <property name="value">
               <number>2</number>
              </property>
             </widget>
            </item>
            <item>
             <widget class="QLabel" name="label_channels">
              <property name="text">
               <string>channels</string>
              </property>
             </widget>
            </item>
           </layout>
          </widget>
         </item>
         <item>
          <spacer name="spacer_channels">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>40</width>
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="checkbox_bs2b">
        <property name="text">
         <string>Improve headphone listening of stereo audio records (bs2b)</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="checkbox_http2">
        <property name="text">
         <string>Enable HTTP/2 for streaming</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="checkbox_strict_ssl">
        <property name="text">
         <string>Use strict SSL mode</string>
        </property>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupbox_buffer">
     <property name="title">
      <string>Buffer</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout">
      <item>
       <layout class="QGridLayout" name="layout_buffer">
        <item row="0" column="1">
         <widget class="QSpinBox" name="spinbox_bufferduration">
          <property name="suffix">
           <string> ms</string>
          </property>
          <property name="maximum">
           <number>60000</number>
          </property>
          <property name="singleStep">
           <number>100</number>
          </property>
          <property name="value">
           <number>4000</number>
          </property>
         </widget>
        </item>
        <item row="2" column="1">
         <widget class="QDoubleSpinBox" name="spinbox_high_watermark">
          <property name="maximum">
           <double>1.000000000000000</double>
          </property>
          <property name="singleStep">
           <double>0.010000000000000</double>
          </property>
          <property name="value">
           <double>0.990000000000000</double>
          </property>
         </widget>
        </item>
        <item row="0" column="0">
         <widget class="QLabel" name="label_bufferduration">
          <property name="text">
           <string>Buffer duration</string>
          </property>
         </widget>
        </item>
        <item row="2" column="0">
         <widget class="QLabel" name="label_highwatermark">
          <property name="text">
           <string>High watermark</string>
          </property>
         </widget>
        </item>
        <item row="1" column="0">
         <widget class="QLabel" name="label_lowwatermark">
          <property name="text">
           <string>Low watermark</string>
          </property>
         </widget>
        </item>
        <item row="1" column="1">
         <widget class="QDoubleSpinBox" name="spinbox_low_watermark">
          <property name="maximum">
           <double>1.000000000000000</double>
          </property>
          <property name="singleStep">
           <double>0.010000000000000</double>
          </property>
          <property name="value">
           <double>0.330000000000000</double>
          </property>
         </widget>
        </item>
        <item row="2" column="2">
         <spacer name="spacer_buffer_3">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="1" column="2">
         <spacer name="spacer_buffer_2">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
        <item row="0" column="2">
         <spacer name="spacer_buffer_1">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
      <item>
       <layout class="QHBoxLayout" name="layout_buffer_defaults">
        <item>
         <widget class="QPushButton" name="button_buffer_defaults">
          <property name="text">
           <string>Defaults</string>
          </property>
         </widget>
        </item>
        <item>
         <spacer name="spacer_buffer_defaults">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupBox_2">
     <property name="title">
      <string>Audio normalization</string>
     </property>
     <layout class="QVBoxLayout" name="verticalLayout_3">
      <item>
       <widget class="QRadioButton" name="radiobutton_no_audio_normalization">
        <property name="text">
         <string>No audio normalization</string>
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
        <attribute name="buttonGroup">
         <string notr="true">buttonGroup_audio_normalization</string>
        </attribute>
       </widget>
      </item>
      <item>
       <widget class="QGroupBox" name="groupbox_replaygain">
        <property name="enabled">
         <bool>true</bool>
        </property>
        <property name="title">
         <string>Replay Gain</string>
        </property>
        <layout class="QVBoxLayout" name="layout_replay_gain">
         <item>
          <widget class="QRadioButton" name="radiobutton_replaygain">
           <property name="enabled">
            <bool>true</bool>
           </property>
           <property name="text">
            <string>Use Replay Gain metadata if it is available</string>
           </property>
           <attribute name="buttonGroup">
            <string notr="true">buttonGroup_audio_normalization</string>
           </attribute>
          </widget>
         </item>
         <item>
          <widget class="QWidget" name="widget_replaygain" native="true">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <layout class="QFormLayout" name="formLayout_4">
            <property name="leftMargin">
             <number>0</number>
            </property>
            <property name="topMargin">
             <number>0</number>
            </property>
            <property name="rightMargin">
             <number>0</number>
            </property>
            <property name="bottomMargin">
             <number>0</number>
            </property>
            <item row="0" column="0">
             <widget class="QLabel" name="label_regainmode">
              <property name="text">
               <string>Replay Gain mode</string>
              </property>
             </widget>
            </item>
            <item row="0" column="1">
             <widget class="QComboBox" name="combobox_replaygainmode">
              <item>
               <property name="text">
                <string>Radio (equal loudness for all tracks)</string>
               </property>
              </item>
              <item>
               <property name="text">
                <string>Album (ideal loudness for all tracks)</string>
               </property>
              </item>
             </widget>
            </item>
            <item row="1" column="0">
             <widget class="QLabel" name="label_preamp">
              <property name="text">
               <string>Pre-amp</string>
              </property>
             </widget>
            </item>
            <item row="1" column="1">
             <layout class="QHBoxLayout" name="layout_replayagainpreamp">
              <item>
               <widget class="QLabel" name="label_replaygainpreamp"/>
              </item>
              <item>
               <widget class="StickySlider" name="stickyslider_replaygainpreamp">
                <property name="maximum">
                 <number>1200</number>
                </property>
                <property name="value">
                 <number>600</number>
                </property>
                <property name="orientation">
                 <enum>Qt::Horizontal</enum>
                </property>
                <property name="sticky_center" stdset="0">
                 <number>600</number>
                </property>
               </widget>
              </item>
             </layout>
            </item>
            <item row="4" column="0" colspan="2">
             <widget class="QCheckBox" name="checkbox_replaygaincompression">
              <property name="text">
               <string>Apply compression to prevent clipping</string>
              </property>
             </widget>
            </item>
            <item row="2" column="1">
             <layout class="QHBoxLayout" name="layout_replaygainfallbackgain">
              <item>
               <widget class="QLabel" name="label_replaygainfallbackgain"/>
              </item>
              <item>
               <widget class="StickySlider" name="stickyslider_replaygainfallbackgain">
                <property name="minimum">
                 <number>0</number>
                </property>
                <property name="maximum">
                 <number>1200</number>
                </property>
                <property name="value">
                 <number>600</number>
                </property>
                <property name="orientation">
                 <enum>Qt::Horizontal</enum>
                </property>
                <property name="sticky_center" stdset="0">
                 <number>600</number>
                </property>
               </widget>
              </item>
             </layout>
            </item>
            <item row="2" column="0">
             <widget class="QLabel" name="label_fallbackgain">
              <property name="text">
               <string>Fallback-gain</string>
              </property>
             </widget>
            </item>
           </layout>
          </widget>
         </item>
        </layout>
       </widget>
      </item>
      <item>
       <widget class="QGroupBox" name="groupbox_ebur128">
        <property name="enabled">
         <bool>true</bool>
        </property>
        <property name="title">
         <string>EBU R 128 Loudness Normalization</string>
        </property>
        <layout class="QVBoxLayout" name="layout_ebur128">
         <item>
          <widget class="QRadioButton" name="radiobutton_ebur128_loudness_normalization">
           <property name="enabled">
            <bool>true</bool>
           </property>
           <property name="text">
            <string>Perform track loudness normalization</string>
           </property>
           <attribute name="buttonGroup">
            <string notr="true">buttonGroup_audio_normalization</string>
           </attribute>
          </widget>
         </item>
         <item>
          <widget class="QWidget" name="widget_ebur128" native="true">
           <property name="enabled">
            <bool>false</bool>
           </property>
           <layout class="QFormLayout" name="formLayout_ebur128">
            <property name="leftMargin">
             <number>0</number>
            </property>
            <property name="topMargin">
             <number>0</number>
            </property>
            <property name="rightMargin">
             <number>0</number>
            </property>
            <property name="bottomMargin">
             <number>0</number>
            </property>
            <item row="0" column="0">
             <widget class="QLabel" name="label_ebur128_target_level_label">
              <property name="text">
               <string>Target Level</string>
              </property>
             </widget>
            </item>
            <item row="0" column="1">
             <layout class="QHBoxLayout" name="layout_ebur128_target_level">
              <item>
               <widget class="QLabel" name="label_ebur128_target_level"/>
              </item>
              <item>
               <widget class="StickySlider" name="stickyslider_ebur128_target_level">
                <property name="minimum">
                 <number>-480</number>
                </property>
                <property name="maximum">
                 <number>0</number>
                </property>
                <property name="value">
                 <number>-230</number>
                </property>
                <property name="orientation">
                 <enum>Qt::Horizontal</enum>
                </property>
                <property name="sticky_center" stdset="0">
                 <number>-230</number>
                </property>
               </widget>
              </item>
             </layout>
            </item>
           </layout>
          </widget>
         </item>
        </layout>
       </widget>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <widget class="QGroupBox" name="groupbox_fading">
     <property name="title">
      <string>Fading</string>
     </property>
     <layout class="QVBoxLayout" name="layout_fading">
      <item>
       <widget class="QCheckBox" name="checkbox_fadeout_stop">
        <property name="text">
         <string>Fade out when stopping a track</string>
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="checkbox_fadeout_cross">
        <property name="text">
         <string>Cross-fade when changing tracks manually</string>
        </property>
        <property name="checked">
         <bool>true</bool>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="checkbox_fadeout_auto">
        <property name="text">
         <string>Cross-fade when changing tracks automatically</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="checkbox_fadeout_samealbum">
        <property name="enabled">
         <bool>false</bool>
        </property>
        <property name="text">
         <string>Except between tracks on the same album or in the same CUE sheet</string>
        </property>
       </widget>
      </item>
      <item>
       <widget class="QWidget" name="widget_fading_options" native="true">
        <layout class="QHBoxLayout" name="horizontalLayout_2">
         <property name="leftMargin">
          <number>0</number>
         </property>
         <property name="topMargin">
          <number>0</number>
         </property>
         <property name="rightMargin">
          <number>0</number>
         </property>
         <property name="bottomMargin">
          <number>0</number>
         </property>
         <item>
          <widget class="QLabel" name="label_fadingduration_1">
           <property name="text">
            <string>Fading duration</string>
           </property>
           <property name="indent">
            <number>22</number>
           </property>
          </widget>
         </item>
         <item>
          <widget class="QSpinBox" name="spinbox_fadeduration">
           <property name="suffix">
            <string> ms</string>
           </property>
           <property name="maximum">
            <number>10000</number>
           </property>
           <property name="singleStep">
            <number>1000</number>
           </property>
           <property name="value">
            <number>2000</number>
           </property>
          </widget>
         </item>
         <item>
          <spacer name="spacer_fading_1">
           <property name="orientation">
            <enum>Qt::Horizontal</enum>
           </property>
           <property name="sizeHint" stdset="0">
            <size>
             <width>257</width>
             <height>20</height>
            </size>
           </property>
          </spacer>
         </item>
        </layout>
       </widget>
      </item>
      <item>
       <widget class="QCheckBox" name="checkbox_fadeout_pauseresume">
        <property name="text">
         <string>Fade out on pause / fade in on resume</string>
        </property>
       </widget>
      </item>
      <item>
       <layout class="QHBoxLayout" name="layout_fading_duration">
        <item>
         <widget class="QLabel" name="label_fading_duration_1">
          <property name="text">
           <string>Fading duration</string>
          </property>
          <property name="indent">
           <number>22</number>
          </property>
         </widget>
        </item>
        <item>
         <widget class="QSpinBox" name="spinbox_fadeduration_pauseresume">
          <property name="suffix">
           <string> ms</string>
          </property>
          <property name="maximum">
           <number>10000</number>
          </property>
          <property name="singleStep">
           <number>50</number>
          </property>
          <property name="value">
           <number>250</number>
          </property>
         </widget>
        </item>
        <item>
         <spacer name="spacer_fading_duration_1">
          <property name="orientation">
           <enum>Qt::Horizontal</enum>
          </property>
          <property name="sizeHint" stdset="0">
           <size>
            <width>40</width>
            <height>20</height>
           </size>
          </property>
         </spacer>
        </item>
       </layout>
      </item>
     </layout>
    </widget>
   </item>
   <item>
    <spacer name="spacer_bottom">
     <property name="orientation">
      <enum>Qt::Vertical</enum>
     </property>
     <property name="sizeHint" stdset="0">
      <size>
       <width>0</width>
       <height>0</height>
      </size>
     </property>
    </spacer>
   </item>
  </layout>
 </widget>
 <customwidgets>
  <customwidget>
   <class>StickySlider</class>
   <extends>QSlider</extends>
   <header>widgets/stickyslider.h</header>
  </customwidget>
  <customwidget>
   <class>LineEdit</class>
   <extends>QWidget</extends>
   <header>widgets/lineedit.h</header>
  </customwidget>
 </customwidgets>
 <tabstops>
  <tabstop>combobox_engine</tabstop>
  <tabstop>combobox_output</tabstop>
  <tabstop>combobox_device</tabstop>
  <tabstop>radiobutton_alsa_hw</tabstop>
  <tabstop>radiobutton_alsa_plughw</tabstop>
  <tabstop>radiobutton_alsa_pcm</tabstop>
  <tabstop>checkbox_channels</tabstop>
  <tabstop>spinbox_channels</tabstop>
  <tabstop>spinbox_bufferduration</tabstop>
  <tabstop>spinbox_low_watermark</tabstop>
  <tabstop>spinbox_high_watermark</tabstop>
  <tabstop>button_buffer_defaults</tabstop>
  <tabstop>radiobutton_replaygain</tabstop>
  <tabstop>combobox_replaygainmode</tabstop>
  <tabstop>stickyslider_replaygainpreamp</tabstop>
  <tabstop>stickyslider_replaygainfallbackgain</tabstop>
  <tabstop>checkbox_replaygaincompression</tabstop>
  <tabstop>checkbox_fadeout_stop</tabstop>
  <tabstop>checkbox_fadeout_cross</tabstop>
  <tabstop>checkbox_fadeout_auto</tabstop>
  <tabstop>checkbox_fadeout_samealbum</tabstop>
  <tabstop>spinbox_fadeduration</tabstop>
  <tabstop>checkbox_fadeout_pauseresume</tabstop>
  <tabstop>spinbox_fadeduration_pauseresume</tabstop>
 </tabstops>
 <resources/>
 <connections>
  <connection>
   <sender>radiobutton_ebur128_loudness_normalization</sender>
   <signal>toggled(bool)</signal>
   <receiver>widget_ebur128</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>429</x>
     <y>835</y>
    </hint>
    <hint type="destinationlabel">
     <x>429</x>
     <y>890</y>
    </hint>
   </hints>
  </connection>
  <connection>
   <sender>radiobutton_replaygain</sender>
   <signal>toggled(bool)</signal>
   <receiver>widget_replaygain</receiver>
   <slot>setEnabled(bool)</slot>
   <hints>
    <hint type="sourcelabel">
     <x>429</x>
     <y>640</y>
    </hint>
    <hint type="destinationlabel">
     <x>429</x>
     <y>717</y>
    </hint>
   </hints>
  </connection>
 </connections>
 <buttongroups>
  <buttongroup name="buttonGroup_audio_normalization">
   <property name="exclusive">
    <bool>true</bool>
   </property>
  </buttongroup>
 </buttongroups>
</ui>
