Share via


AUDIO_STREAM_CONFIG_CAPS (Windows Embedded CE 6.0)

1/6/2010

This structure contains information about all possible audio formats supported.

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 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

Header dshow.h
Windows Embedded CE Windows CE 2.12 and later
Note Microsoft DirectShow applications and DirectShow filters have different include file and Library requirements
For more information, see Setting Up the Build Environment, Version 2.12 requires DXPAK 1.0 or later

See Also

Reference

DirectShow Structures