다음을 통해 공유


IMSVidAudioRendererEvent2 interface (segment.h)

[The feature associated with this page, Microsoft TV Technologies, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]

Implements an event system for the audio renderer associated with a Video Control. Audio renderer events are triggered by events from the audio decoder upstream of the audio renderer in the filter graph.

The audio renderer subscribes to audio decoder events by using the ICodecAPI::RegisterForEvent method. Each method in IMSVidAudioRendererEvent2 corresponds to a codec property, as follows:

  1. An audio decoder property changes.
  2. The decoder fires an ICodecAPI event. The event data includes the GUID that identifies the codec property.
  3. The audio renderer fires the corresponding IMSVidAudioRendererEvent2 event.
For a list of codec properties, see Codec API Properties.

Inheritance

The IMSVidAudioRendererEvent2 interface inherits from IMSVidAudioRendererEvent. IMSVidAudioRendererEvent2 also has these types of members:

Methods

The IMSVidAudioRendererEvent2 interface has these methods.

 
IMSVidAudioRendererEvent2::AVAudioChannelConfig

Indicates a change in the AVDecAudioDualMono codec property.
IMSVidAudioRendererEvent2::AVAudioChannelCount

Indicates a change in the AVAudioChannelCount codec property.
IMSVidAudioRendererEvent2::AVAudioSampleRate

Indicates a change in the AVAudioSampleRate codec property.
IMSVidAudioRendererEvent2::AVDDSurroundMode

Indicates a change in the AVDDSurroundMode codec property.
IMSVidAudioRendererEvent2::AVDecAudioDualMono

Indicates a change in the AVDecAudioDualMono codec property.
IMSVidAudioRendererEvent2::AVDecCommonInputFormat

Indicates a change in the AVDecCommonInputFormat codec property.
IMSVidAudioRendererEvent2::AVDecCommonMeanBitRate

Indicates a change in the AVDecCommonMeanBitRate codec property.
IMSVidAudioRendererEvent2::AVDecCommonOutputFormat

Indicates a change in the AVDecCommonOutput codec property.

Remarks

To declare the interface identifier (IID) for this interface, use the __uuidof operator: __uuidof(IMSVidAudioRendererEvent2).

Requirements

Requirement Value
Minimum supported client Windows�7 [desktop apps only]
Minimum supported server None supported
Target Platform Windows
Header segment.h (include Msvidctl.h)