2024-06-07 00:47:07 +02:00

17 lines
441 B
C#

using System;
using System.Runtime.InteropServices;
namespace NAudio.CoreAudioApi.Interfaces
{
[Guid("F294ACFC-3146-4483-A7BF-ADDCA7C260E2"),
InterfaceType(ComInterfaceType.InterfaceIsIUnknown),
ComImport]
interface IAudioRenderClient
{
int GetBuffer(int numFramesRequested, out IntPtr dataBufferPointer);
int ReleaseBuffer(int numFramesWritten, AudioClientBufferFlags bufferFlags);
}
}