Microsoft DirectX 9.0

IAMResourceControl Interface

The IAMResourceControl interface enables an application to open and hold an audio device resource before it's actually needed, so that playback can be guaranteed, or so that the application can learn in advance that a device is not available.

A filter can implement IAMResourceControl for use with a resource that might sometimes be unavailable. The Audio Capture, DirectSound Renderer, and the Audio Renderer (WaveOut) filters implement this interface.

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

Method Description
Reserve Reserves or unreserves a device resource.