Compartilhar via


AUDIO_STREAM_CONFIG_CAPS Structure

 
Microsoft DirectShow 9.0

AUDIO_STREAM_CONFIG_CAPS Structure

The AUDIO_STREAM_CONFIG_CAPS structure describes a range of audio formats. Audio compression and capture filters use this structure to describe the formats they can produce.

Syntax

typedef struct _AUDIO_STREAM_CONFIG_CAPS {
    GUID guid;
    ULONG MinimumChannels;
    ULONG MaximumChannels;
    ULONG ChannelsGranularity;
    ULONG MinimumBitsPerSample;
    ULONG MaximumBitsPerSample;
    ULONG BitsPerSampleGranularity;
    ULONG MinimumSampleFrequency;
    ULONG MaximumSampleFrequency;
    ULONG SampleFrequencyGranularity;
} AUDIO_STREAM_CONFIG_CAPS;

Members

guid

Will be set to MEDIATYPE_Audio to indicate an audio sample.

MinimumChannels

Minimum number of channels.

MaximumChannels

Maximum number of channels.

ChannelsGranularity

Granularity of the channels. For example, the filter might specify channels 2 through 4, in steps of 2.

MinimumBitsPerSample

Minimum bits per sample.

MaximumBitsPerSample

Maximum bits per sample.

BitsPerSampleGranularity

Granularity of the bits per sample. For example, the filter might specify 8 bits per sample through 32 bits per sample, in steps of 8.

MinimumSampleFrequency

Minimum sample frequency.

MaximumSampleFrequency

Maximum sample frequency.

SampleFrequencyGranularity

Granularity of the frequency. For example, the filter might specify 11025 Hz to 44100 Hz, in steps of 11025 Hz.

Requirements

  Header: Dshow.h.

See Also