MVH/NAudio-2.2.1/NAudio.Wasapi/Dmo/IWMResamplerProps.cs
2024-06-07 00:47:07 +02:00

26 lines
636 B
C#

using System;
using System.Runtime.InteropServices;
namespace NAudio.Dmo
{
/// <summary>
/// Windows Media Resampler Props
/// wmcodecdsp.h
/// </summary>
[Guid("E7E9984F-F09F-4da4-903F-6E2E0EFE56B5"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
ComImport]
interface IWMResamplerProps
{
/// <summary>
/// Range is 1 to 60
/// </summary>
int SetHalfFilterLength(int outputQuality);
/// <summary>
/// Specifies the channel matrix.
/// </summary>
int SetUserChannelMtx([In] float[] channelConversionMatrix);
}
}