Replace naudio.dll with code

This commit is contained in:
CroakFang
2022-09-10 16:59:44 +08:00
parent 3c17d8770d
commit 19dbe75b53
1113 changed files with 50280 additions and 182 deletions
@@ -0,0 +1,35 @@
using System;
using System.Runtime.InteropServices;
namespace NAudio.Dmo
{
/// <summary>
/// defined in Medparam.h
/// </summary>
[ComImport,
#if !NETFX_CORE
System.Security.SuppressUnmanagedCodeSecurity,
#endif
Guid("6d6cbb60-a223-44aa-842f-a2f06750be6d"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
interface IMediaParamInfo
{
[PreserveSig]
int GetParamCount(out int paramCount);
[PreserveSig] // MP_PARAMINFO
int GetParamInfo(int paramIndex, ref MediaParamInfo paramInfo);
[PreserveSig]
int GetParamText(int paramIndex, out IntPtr paramText);
[PreserveSig]
int GetNumTimeFormats(out int numTimeFormats);
[PreserveSig]
int GetSupportedTimeFormat(int formatIndex, out Guid guidTimeFormat);
[PreserveSig] // MP_TIMEDATA is a DWORD
int GetCurrentTimeFormat(out Guid guidTimeFormat, out int mediaTimeData);
}
}