AUDIO_STREAM_CONFIG_CAPS (Windows CE 5.0)

Send Feedback

This structure contains information about all possible audio formats supported.

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 this pin supports.

  • MaximumChannels
    Maximum number of channels this pin supports (for example, 2 for stereo).

  • ChannelsGranularity
    Granularity of the channels.

    For example, you could specify channels 2 through 4 in steps of 2.

  • MinimumBitsPerSample
    Minimum bits per sample.

  • MaximumBitsPerSample
    Maximum bits per sample.

  • BitsPerSampleGranularity
    Granularity of the bits.

    For example, you could specify 8 bits or 32 bits in steps of 8.

  • MinimumSampleFrequency
    Minimum frequency allowed.

  • MaximumSampleFrequency
    Maximum frequency allowed.

  • SampleFrequencyGranularity
    Granularity of the frequency.

    For example, you could specify 11025 Hz to 44100 Hz in steps of 11025 Hz.

Remarks

This structure is returned by an audio capture or compression filter.

Requirements

DirectShow applications and DirectShow filters have different include file and link library requirements.

For more information, see Setting Up the Build Environment.

OS Versions: Windows CE 2.12 and later. Version 2.12 requires DXPAK 1.0 or later.
Header: Dshow.h.

See Also

DirectShow Structures

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.