title: iOS - AudioFormat issue linking up mixer, remoteio and dynamics processor
body: <p>I'm trying to link up my mixer -> remoteio -> dynamics processor</p>
  
  <p>Here is my AudioFormat 
      // Describe format</p>
  
  <pre><code>memset( &amp;audioFormat, 0, sizeof(AudioStreamBasicDescription) );
  audioFormat.mSampleRate         = 44100.00;
  audioFormat.mFormatID           = kAudioFormatLinearPCM;
  audioFormat.mFormatFlags        = kAudioFormatFlagIsSignedInteger | kAudioFormatFlagIsPacked;
  audioFormat.mFramesPerPacket    = 1;
  audioFormat.mChannelsPerFrame   = 1;
  audioFormat.mBitsPerChannel     = 16;
  audioFormat.mBytesPerPacket     = 2;
  audioFormat.mBytesPerFrame      = 2;
  </code></pre>
  
  <p>When I use CAShow it gives me the following. </p>
  
  <pre><code>AudioUnitGraph 0x4725000:
    Member Nodes:
  node 1: 'auou' 'rioc' 'appl', instance 0x1c5ab3a0 O I
  node 2: 'aumx' 'mcmx' 'appl', instance 0x1d07a6d0 O I
  node 3: 'aufx' 'dcmp' 'appl', instance 0x1d085330 O I
   Connections:
      node   2 bus   0 =&gt; node   1 bus   0  [ 2 ch,  44100 Hz, 'lpcm' (0x00000C2C) 8.24-bit little-endian signed integer, deinterleaved]
  node   1 bus   0 =&gt; node   3 bus   0  [ 2 ch,      0 Hz, 'lpcm' (0x00000029) 32-bit little-endian float, deinterleaved]
  </code></pre>
  
  <p>Trying 
          result = AudioUnitSetProperty (
                                         _dynamicsUnit,
                                         kAudioUnitProperty_StreamFormat,
                                         kAudioUnitScope_Input,
                                         0,
                                         &amp;audioFormat,
                                         sizeof (audioFormat)
                                         );</p>
  
  <p>to set the audioFormat to the desired format gives me a error code -10868.</p>
  
  <p>I also realised that getting the ASBD from the audynamicsprocessor yields this. </p>
  
  <pre><code>effectASBD  AudioStreamBasicDescription 
  mSampleRate Float64 44100
  mFormatID   UInt32  1819304813
  mFormatFlags    UInt32  41
  mBytesPerPacket UInt32  4
  mFramesPerPacket    UInt32  1
  mBytesPerFrame  UInt32  4
  mChannelsPerFrame   UInt32  2
  mBitsPerChannel UInt32  32
  mReserved           UInt32  0
  </code></pre>
  
  <p>and I tried various things like letting the audioformat ABSD be as per the AUdynamicsprocessor but I get the same error. </p>
  
  <p>I would like to use my original audioformat ASBD as far as possible due to latency considerations. Also, my callback algorithms are already written for that audioformat. 
  Is this possible? </p>
  
  <p>Thanks in advance. </p>
  
  <p>Pier. </p>