다음을 통해 공유


IAMDirectSound Interface

 
Microsoft DirectShow 9.0

IAMDirectSound Interface

The IAMDirectSound interface specifies which window has focus for controlling DirectSound audio playback. DirectShow provides limited support for this interface:

  • The DirectSound Renderer implements the GetFocusWindow and SetFocusWindow methods. It does not implement the other methods on the interface.
  • The Audio Renderer (WaveOut) exposes the interface but does not implement any of its methods.

In addition to the methods inherited from IUnknown, the IAMDirectSound interface exposes the following methods.

Method Description
GetDirectSoundInterface Not implemented.
GetFocusWindow Retrieves the window that is handling sound playback for the current media file.
GetPrimaryBufferInterface Not implemented.
GetSecondaryBufferInterface Not implemented.
ReleaseDirectSoundInterface Not implemented.
ReleasePrimaryBufferInterface Not implemented.
ReleaseSecondaryBufferInterface Not implemented.
SetFocusWindow Sets the window that will handle sound playback for the current media file.

Requirements

Header: Include Amaudio.h.

Library: Use Strmiids.lib.