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.


The IAMDirectSound interface has these methods.

Method Description
IAMDirectSound::GetDirectSoundInterface The GetDirectSoundInterface method is not implemented.
IAMDirectSound::GetFocusWindow The GetFocusWindow method retrieves the window that is handling sound playback.
IAMDirectSound::GetPrimaryBufferInterface The GetPrimaryBufferInterface method is not implemented.
IAMDirectSound::GetSecondaryBufferInterface The GetSecondaryBufferInterface method is not implemented.
IAMDirectSound::ReleaseDirectSoundInterface The ReleaseDirectSoundInterface method is not implemented.
IAMDirectSound::ReleasePrimaryBufferInterface The ReleasePrimaryBufferInterface method is not implemented.
IAMDirectSound::ReleaseSecondaryBufferInterface The ReleaseSecondaryBufferInterface method is not implemented.
IAMDirectSound::SetFocusWindow The SetFocusWindow method specifies a window to handle sound playback.


Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header amaudio.h

See also