Replace naudio.dll with code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user