TalanSoft Toolkits  201707
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
Public Member Functions | List of all members
iSoundDriverBuffer Struct Referenceabstract
Inheritance diagram for iSoundDriverBuffer:
iUnknown

Detailed Description

Sound driver buffer.

Public Member Functions

virtual tBool SwitchIn ()=0
 Switch in the application. More...
 
virtual tBool SwitchOut ()=0
 Switch out of the applicatio. More...
 
virtual tBool Play (eSoundFormat aFormat, tU32 anFreq)=0
 Play the sound buffer. More...
 
virtual tBool Stop ()=0
 Stop the sound buffer. More...
 
virtual tSize GetSize () const =0
 Get the size of the sound buffer. More...
 
virtual void SetSink (iSoundDriverBufferDataSink *apSink)=0
 Set the get sound data sink. More...
 
virtual
iSoundDriverBufferDataSink
GetSink () const =0
 Get the sound data sink. More...
 
virtual void UpdateBuffer ()=0
 Update the sound buffer. More...
 
- Public Member Functions inherited from iUnknown
virtual tBool IsOK () const =0
 Check if the object is valid. More...
 
virtual tI32 AddRef ()=0
 Signal that one more reference of the object has been created. More...
 
virtual tI32 Release ()=0
 Release a reference of the object. More...
 
virtual void DeleteThis ()=0
 Bypass any reference counting and delete this object. More...
 
virtual void Invalidate ()=0
 Invalidate the object. More...
 
virtual iUnknownQueryInterface (const tUUID &aIID)=0
 Query an interface. More...
 
virtual void ListInterfaces (iMutableCollection *apLst, tU32 anFlags) const =0
 Fill a UUID list containing the UUIDs of the implemented interfaces. More...
 
virtual tI32 SetNumRefs (tI32 anNumRefs)=0
 Set the reference counter directly. More...
 
virtual tI32 GetNumRefs () const =0
 Get the number of references to this object. More...
 

Member Function Documentation

virtual tBool SwitchIn ( )
pure virtual

Switch in the application.

virtual tBool SwitchOut ( )
pure virtual

Switch out of the applicatio.

virtual tBool Play ( eSoundFormat  aFormat,
tU32  anFreq 
)
pure virtual

Play the sound buffer.

virtual tBool Stop ( )
pure virtual

Stop the sound buffer.

virtual tSize GetSize ( ) const
pure virtual

Get the size of the sound buffer.

virtual void SetSink ( iSoundDriverBufferDataSink apSink)
pure virtual

Set the get sound data sink.

virtual iSoundDriverBufferDataSink* GetSink ( ) const
pure virtual

Get the sound data sink.

virtual void UpdateBuffer ( )
pure virtual

Update the sound buffer.