获取自流开头以来 DMA 从音频缓冲区提取的字节数。
语法
NTSTATUS GetStreamLinearBufferPosition(
[out] ULONGLONG *pullLinearBufferPosition
);
参数
[out] pullLinearBufferPosition
DMA 已提取的字节数。
返回值
如果调用成功,GetStreamLinearBufferPosition 返回S_OK。 否则,该方法将返回适当的错误代码。
要求
| 要求 | 价值 |
|---|---|
| 最低支持的客户端 | Windows 8 |
| 支持的最低服务器 | Windows Server 2012 |
| 目标平台 | 普遍 |
| 标头 | portcls.h |