dshow/Core/IMediaPosition.cs
(开头部分) 1KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
namespace dshow.Core
{
using System;
using System.Runtime.InteropServices;
// IMediaPosition interface
//
// Contains methods for seeking to a position within a stream
//
[ComImport,
Guid("56A868B2-0AD4-11CE-B03A-0020AF0BA770"),
InterfaceType(ComInterfaceType.InterfaceIsDual)]
public interface IMediaPosition
{
// Retrieves the duration of the stream
[PreserveSig]
int get_Duration(
out double pLength);
// Sets the current position, relative to the
// total duration of the stream
[PreserveSig]
int put_CurrentPosition(
double llTime);
// Retrieves the current position, relative to the total
// duration of the stream
[PreserveSig]
int get_CurrentPosition(
out double pllTime);
// Retrieves the time at which the playback will stop,
// relative to the duration of the stream
[PreserveSig]
int get_StopTime(
out double pllTime);
// Sets the time at which the playback will stop,
// relative to the duration of the stream
[PreserveSig]
int put_StopTime(
double llTime);
// Retrieves the amount of data that will be queued
// before the start position
[PreserveSig]
int get_PrerollTime(
out double pllTime);
// Sets the amount of data that will be queued before
// the start position
[PreserveSig]
int put_PrerollTime(
double llTime);
// Sets the playback rate
[PreserveSig]
int put_Rate(
double dRate);
// Retrieves the playback rate
[PreserveSig]
int get_Rate(
out double pdRate);
后面还有 12 行代码,解锁后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。