This example uses a KSDATARANGE structure to describe the data range for an analog audio stream.
DataRange.FormatSize = sizeof(KSDATARANGE); DataRange.Flags = 0; DataRange.SampleSize = 0; DataRange.Reserved = 0; DataRange.MajorFormat = STATICGUIDOF(KSDATAFORMAT_TYPE_AUDIO); DataRange.SubFormat = STATICGUIDOF(KSDATAFORMAT_SUBTYPE_ANALOG); DataRange.Specifier = STATICGUIDOF(KSDATAFORMAT_SPECIFIER_NONE);
This type of data range is typically used to describe the analog signal passing through a bridge pin, which represents a hardwired connection on an audio adapter card. For more information about bridge pins, see Audio Filter Graphs.