struct CCL::IAudioDeviceNotificationCallback

Overview

Pass to IComponent::initialize () to receive notifications from audio device. More…

#include <iaudiocomponent.h>

struct IAudioDeviceNotificationCallback: public CCL::IUnknown
{
    // enums

    enum EventType;

    // methods

    virtual void CCL_API onDeviceNotification (
        IAudioComponent* component,
        EventType eventType
    ) = 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

Pass to IComponent::initialize () to receive notifications from audio device.

Methods

virtual void CCL_API onDeviceNotification (
    IAudioComponent* component,
    EventType eventType
) = 0

Notification from device, possibly called on a non-main thread.