Bluetooth Framework C++ Edition
Public Member Functions | Protected Member Functions | List of all members
CwclCustomAudio Class Reference

The custom Audio component. More...

#include <wclAudio.h>

Inheritance diagram for CwclCustomAudio:
CwclAudioSwitcher CwclCustomAudioEndpoint CwclAudioMeter CwclAudioVolume

Public Member Functions

 CwclCustomAudio ()
 Creates new Audio component.
 
virtual ~CwclCustomAudio ()
 Frees the component.
 
virtual int Close ()
 Closes the Audio component.
 
bool GetActive () const
 Gets the Audio Switcher state.
 
 __declspec (property(get=GetActive)) bool Active
 Gets the Audio Switcher state.
 
__event void OnClosed (void *Sender)
 The event fires when the Audio Switcher was closed.
 
__event void OnOpened (void *Sender)
 The event fires when the Audio Switcher was opened.
 

Protected Member Functions

virtual int InternalClose ()
 The method called during audio subsystem finalization.
 
virtual int InternalOpen ()
 The method called during audio subsystem initialization.
 
virtual void MessageReceived (const CwclMessage *const Message)
 The method called when a new notification message received.
 
virtual void DoClosed ()
 Calls the OnClosed event.
 
virtual void DoOpened ()
 Calls the OnOpend event.
 
virtual int Open ()
 Opens the Audio component.
 
IMMDeviceEnumerator * GetEnumerator () const
 Gets the Audio devices enumerator interface.
 
 __declspec (property(get=GetEnumerator)) IMMDeviceEnumerator *Enumerator
 Gets the Audio devices enumerator interface.
 
CwclMessageReceiverGetReceiver () const
 Gets the message receiver.
 
 __declspec (property(get=GetReceiver)) CwclMessageReceiver *Receiver
 Gets the message receiver.
 

Detailed Description

The custom Audio component.

The class implements the basic Audio features for all Audio component.