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) |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for