<Template>
  <WidgetGroup>
    <Pos>0,0</Pos>
    <Size>93f,54f</Size>
    <BackPath>style/style_bg_microphone_<Variable name="miclabel"/>.png</BackPath>
    <!--<Layout>horizontal</Layout>-->
    <Children>
      <!--
      **********************************************
      Visual- Volume peak indicator
      **********************************************
      -->
      <StatusLight>
        <TooltipId>microphone_peak_indicator</TooltipId>
        <PathStatusLight>skin:/style/volume_clipping_microphone_over.png</PathStatusLight>
        <PathBack>skin:/style/volume_clipping_microphone.png</PathBack>
        <Pos>82,6</Pos>
        <Connection>
          <ConfigKey>[Microphone<Variable name="micnum"/>],peak_indicator</ConfigKey>
        </Connection>
      </StatusLight>

      <!--
      **********************************************
      Visual - Volume level display
      **********************************************
      -->
      <WidgetGroup>
        <Pos>82,14</Pos>
        <Size>5f,35f</Size>
        <Layout>horizontal</Layout>
        <Children>
          <VuMeter>
            <TooltipId>microphone_VuMeter</TooltipId>
            <PathVu>skin:/style/volume_display_microphone_over.png</PathVu>
            <PathBack>skin:/style/volume_display_microphone.png</PathBack>
            <PeakHoldSize>5</PeakHoldSize>
            <PeakHoldTime>500</PeakHoldTime>
            <PeakFallTime>50</PeakFallTime>
            <PeakFallStep>2</PeakFallStep>
            <Connection>
              <ConfigKey>[Microphone<Variable name="micnum"/>],vu_meter</ConfigKey>
            </Connection>
          </VuMeter>
        </Children>
      </WidgetGroup>

      <!--
      **********************************************
      Knob- Channel Volume
      **********************************************
      -->
      <Knob>
        <TooltipId>microphone_pregain</TooltipId>
        <NumberStates>64</NumberStates>
        <Path>knobs/knob_rotary_s%1.png</Path>
        <Pos>49,22</Pos>
        <Connection>
          <ConfigKey>[Microphone<Variable name="micnum"/>],pregain</ConfigKey>
        </Connection>
      </Knob>
    </Children>
  </WidgetGroup>
</Template>
