Ejemplo n.º 1
0
 /// <summary>
 /// Applies the transformation to any audio.
 /// </summary>
 /// <param name="matrix3x4"></param>
 public void SetTransformation(Matrix3x4 matrix3x4)
 {
     using (AudioObjectTransformation audioObjectTransformation = new AudioObjectTransformation(matrix3x4))             // can safely dispose this as the C++ implementation uses a copy
     {
         NativeAudioSystem.SetAudioListenerTransformation(_cPtr.Handle, audioObjectTransformation.NativePtr);
     }
 }