title: SuperpoweredMixer Meter Values
body: <p>I have a 2-part question. An incomplete version of my audioProcessing callback is below to provide context.</p>
  
  <p>1) For SuperpoweredStereoMixer->process, the documentation states that the "inputMeters" and "outputMeters" parameters "Returns the maximum values for metering." and that the SuperpoweredPeak function "Returns the peak value." Are the Peak function and the mixer's meter values the same thing? I assume so, I just want to confirm.</p>
  
  <p>2) When I increase or decrease the input volumes in the self->inputLevelsA, I can see the meter values returned in self->outputMeters increase/decrease as expected. However, I'm not seeing the values increase/decrease in self->inputMetersA. In fact when I decrease the volumes in inputLevelsA to 0.0f I do not see the input meter values decrease at all. Is SuperpoweredStereoMixer->process returning the input meter values before the input volume levels are applied to the signal or after?</p>
  
  <p>Thanks!</p>
  
  <pre><code>static bool audioProcessing(void *clientdata, float **inputBuffers, unsigned int inputChannels, float **outputBuffers, unsigned int outputChannels, unsigned int numberOfSamples, unsigned int samplerate, uint64_t hostTime) {
      __unsafe_unretained SuperpoweredFrequencies *self = (__bridge SuperpoweredFrequencies *)clientdata;
    hasAudio1 = self-&gt;player1-&gt;process(self-&gt;musicInterleavedBuffer1, false, numberOfSamples, 1.0f);
      hasAudio2 = self-&gt;player2-&gt;process(self-&gt;musicInterleavedBuffer2, false, numberOfSamples, 1.0f);
  
      SuperpoweredInterleave(inputBuffers[0], inputBuffers[1], self-&gt;microphoneInterleavedBuffer, numberOfSamples);
  self-&gt;inputsA[0] = self-&gt;musicInterleavedBuffer1; 
      self-&gt;inputsA[1] = self-&gt;musicInterleavedBuffer2; 
      self-&gt;inputsA[2] = self-&gt;microphoneInterleavedBuffer;
      self-&gt;inputsA[3] = NULL;
      self-&gt;outputsA[0] = self-&gt;outputInterleavedBufferA;
      self-&gt;outputsA[1] = NULL;
      self-&gt;stereoMixerA-&gt;process(self-&gt;inputsA, self-&gt;outputsA, self-&gt;inputLevelsA, self-&gt;outputLevelsA, self-&gt;inputMetersA, self-&gt;outputMeters, numberOfSamples);
  
  
  SuperpoweredDeInterleave(self-&gt;outputsA[0], outputBuffers[0], outputBuffers[1], numberOfSamples);
  hasAudio = hasAudio1 || hasAudio2 || micHasAudio;
      return hasAudio;
  }
  </code></pre>