public int SetEnvironment(SpatialAudioHrtfEnvironmentType environment) { return(((delegate * unmanaged <ISpatialAudioObjectForHrtf *, SpatialAudioHrtfEnvironmentType, int>)(lpVtbl[10]))((ISpatialAudioObjectForHrtf *)Unsafe.AsPointer(ref this), environment)); }
/// <summary>Sets the type of acoustic environment that is simulated when audio is processed for the ISpatialAudioObjectForHrtf.</summary> /// <param name="environment"> /// A value specifying the type of acoustic environment that is simulated when audio is processed for the ISpatialAudioObjectForHrtf. /// </param> /// <remarks>If <c>SetEnvironment</c> is not called, the default value of SpatialAudioHrtfEnvironment_Small is used.</remarks> // https://docs.microsoft.com/en-us/windows/win32/api/spatialaudiohrtf/nf-spatialaudiohrtf-ispatialaudioobjectforhrtf-setenvironment // HRESULT SetEnvironment( SpatialAudioHrtfEnvironmentType environment ); void SetEnvironment([In] SpatialAudioHrtfEnvironmentType environment);