struct CCL::IAudioDeviceFactory

Overview

#include <iaudioservice.h>

struct IAudioDeviceFactory: public CCL::IUnknown
{
    // methods

    virtual tresult CCL_API createInstance (
        IAudioComponent*& component,
        const AudioDeviceComponentDesc& description
    ) = 0;
};

Inherited Members

public:
    // methods

    virtual tresult CCL_API queryInterface (UIDRef iid, void** ptr) = 0;
    virtual unsigned int CCL_API retain () = 0;
    virtual unsigned int CCL_API release () = 0;

Detailed Documentation

Methods

virtual tresult CCL_API createInstance (
    IAudioComponent*& component,
    const AudioDeviceComponentDesc& description
) = 0

Create new audio device component instance.

Specify render and/or capture device identifiers from enumeration, see IDeviceEnumerator. If device identitifers are empty, system defaults are selected. Optionally specificy which capabilites (render/capture) are requested (see IDeviceDescription).