struct CCL::IAudioTransportClient

Overview

A client syncing its state to a shared transport instance for playback and/or recording. More…

#include <iaudiotransport.h>

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

    enum StateFlags;

    // methods

    virtual StateFlags CCL_API getClientState () const = 0;
    virtual void CCL_API onTransportEvent (const AudioTransportEvent& e) = 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

A client syncing its state to a shared transport instance for playback and/or recording.

Methods

virtual StateFlags CCL_API getClientState () const = 0

Get current client state (queried periodically by transport).

virtual void CCL_API onTransportEvent (const AudioTransportEvent& e) = 0

Handle transport event (start, stop, seek, etc.)