title: How to convert IAudioSessionControl to AudioSessionControl
body: <p>I am using NAudio wrapper and I am trying mute the session when it's created.</p>
  
  <pre><code>MMDevice _device = _deviceEnum.GetDefaultAudioEndpoint(DataFlow.Render, Role.Multimedia);
  _device.AudioSessionManager.OnSessionCreated += AudioSessionManager_OnSessionCreated;
  
  private void AudioSessionManager_OnSessionCreated(object sender, IAudioSessionControl newSession)
  {
          //mute session
  }
  </code></pre>
  
  <p>in order to mute the  session,  I need to convert it from <code>IAudioSessionControl</code>  to <code>AudioSessionControl</code></p>
  
  <p><code>IAudioSessionControl</code> is an interface and therefore I have no idea how to conver it.</p>
  
  <p>A little help would be appreciated.</p>