KSRTAUDIO_SETWRITEPACKET_INFO structure (ksmedia.h)
The KSRTAUDIO_SETWRITEPACKET_INFO structure describes information associated with an audio packet.
Syntax
typedef struct {
ULONG PacketNumber;
DWORD Flags;
ULONG EosPacketLength;
} KSRTAUDIO_SETWRITEPACKET_INFO, *PKSRTAUDIO_SETWRITEPACKET_INFO;
Members
PacketNumber
The number of the packet written by the OS to the WaveRT buffer. Depending on the values returned by the driver in the KSPROPERTY_RTAUDIO_GETPACKETCOUNT property, the PacketNumber may skip values. For more information, see KSPROPERTY_RTAUDIO_PACKETCOUNT.
Flags
Additional attributes related to the packet or stream.
KSSTREAM_HEADER_OPTIONSF_ENDOFSTREAM - This flag indicates that this packet represents the end of the data stream.
EosPacketLength
The length of the EOS packet if KSSTREAM_HEADER_OPTIONSF_ENDOFSTREAM is specified in Flags. Zero is a valid value. If KSSTREAM_HEADER_OPTIONSF_ENDOFSTREAM is not specified in Flags, this parameter is ignored. The EosPacketLength is measured in bytes.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 10 and later Windows operating systems. |
Header | ksmedia.h |