Previous Next

KSDATARANGE_AUDIO

The KSDATARANGE_AUDIO structure specifies a range of audio formats.

typedef struct
{
  KSDATARANGE  DataRange;
  ULONG  MaximumChannels;
  ULONG  MinimumBitsPerSample;
  ULONG  MaximumBitsPerSample;
  ULONG  MinimumSampleFrequency;
  ULONG  MaximumSampleFrequency;
} KSDATARANGE_AUDIO, *PKSDATARANGE_AUDIO;

Members

DataRange
Specifies the MajorFormat and SubFormat GUIDs as well as the Specifier GUID for the audio data. This member is an initialized KSDATARANGE structure.
MaximumChannels
Specifies the maximum number of channels supported. A value of (ULONG)-1 for this member means that the number of channels has no explicit limit, although the number of channels might be practically limited by the availability of resources such as memory or processing power.
MinimumBitsPerSample
Specifies the minimum bits per sample supported.
MaximumBitsPerSample
Specifies the maximum bits per sample supported.
MinimumSampleFrequency
Specifies the minimum frequency allowed.
MaximumSampleFrequency
Specifies the maximum frequency allowed.

Headers

Declared in ksmedia.h. Include ksmedia.h.

Comments

For examples of data ranges that use the KSDATARANGE_AUDIO structure, see Data Formats for Audio Wave Streams.

For information on data ranges and intersection handling, see Data-Intersection Handlers.

See Also

KSDATARANGE