KSWAVE_BUFFER structure (ksmedia.h)
The KSWAVE_BUFFER structure is used to describe a sample buffer.
Syntax
typedef struct {
ULONG Attributes;
ULONG BufferSize;
PVOID BufferAddress;
} KSWAVE_BUFFER, *PKSWAVE_BUFFER;
Members
Attributes
Specifies the following flags:
Flag | Meaning |
---|---|
KSWAVE_BUFFER_ATTRIBUTEF_LOOPING | Indicates that the buffer loops. |
KSWAVE_BUFFER_ATTRIBUTEF_STATIC | Indicates that the buffer is static. |
BufferSize
Specifies the size of the buffer, in bytes.
BufferAddress
Specifies the starting address of the buffer.
Remarks
This structure is used by the KSPROPERTY_WAVE_BUFFER property.
Requirements
Requirement | Value |
---|---|
Header | ksmedia.h (include Ksmedia.h) |