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

Detailed Description

Utility format object.

Public Member Functions

virtual tU32 GetFormat () const =0
 Get the full format. {Property}. More...
 
virtual tU32 GetBaseFormat () const =0
 Get the base format (format without extra parameter). {Property}. More...
 
virtual void SetBits (tU8 aVal)=0
 Set format's bits. {Property}. More...
 
virtual tU8 GetBits () const =0
 Get format's bits. {Property}. More...
 
virtual void SetChannels (tU8 aVal)=0
 Set format's num channels. {Property}. More...
 
virtual tU8 GetChannels () const =0
 Get format's num channels. {Property}. More...
 
virtual void SetExtra (tU16 aVal)=0
 Set format's extra parameter. {Property}. More...
 
virtual tU16 GetExtra () const =0
 Get format's extra parameter. {Property}. More...
 
virtual tU32 GetSampleSize () const =0
 Get the format's sample size in bytes. {Property}. More...
 
virtual tU32 GetFrameSize () const =0
 Get the format's frame size in bytes. {Property}. 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 tU32 GetFormat ( ) const
pure virtual

Get the full format. {Property}.

virtual tU32 GetBaseFormat ( ) const
pure virtual

Get the base format (format without extra parameter). {Property}.

virtual void SetBits ( tU8  aVal)
pure virtual

Set format's bits. {Property}.

virtual tU8 GetBits ( ) const
pure virtual

Get format's bits. {Property}.

virtual void SetChannels ( tU8  aVal)
pure virtual

Set format's num channels. {Property}.

virtual tU8 GetChannels ( ) const
pure virtual

Get format's num channels. {Property}.

virtual void SetExtra ( tU16  aVal)
pure virtual

Set format's extra parameter. {Property}.

virtual tU16 GetExtra ( ) const
pure virtual

Get format's extra parameter. {Property}.

virtual tU32 GetSampleSize ( ) const
pure virtual

Get the format's sample size in bytes. {Property}.

virtual tU32 GetFrameSize ( ) const
pure virtual

Get the format's frame size in bytes. {Property}.