AudRecordLib
Public Member Functions | Public Attributes
InputFormat Struct Reference

List of all members.

Public Member Functions

 InputFormat (const ComType< IWMInputMediaProps > &pProps, const WM_MEDIA_TYPE *pMedia)
const WAVEFORMATEX * WaveFormat () const
IWMInputMediaProps * Interface () const

Public Attributes

ComType< IWMInputMediaProps > pProps
std::vector< BYTE > wfx

Detailed Description

Holds a waveformat and properties that comprise a Windows Media writer input format


Constructor & Destructor Documentation

InputFormat::InputFormat ( const ComType< IWMInputMediaProps > &  pProps,
const WM_MEDIA_TYPE *  pMedia 
) [inline]

Constructs a new input format from its wave format and stream properties

Parameters:
pPropsThe interface describing the stream properties of the format
pMediaThe media type holding the WAVEFORMATEX to copy into the member buffer

Member Function Documentation

IWMInputMediaProps* InputFormat::Interface ( ) const [inline]

Retrieves the input props for this input format

Returns:
The held media properties interface
const WAVEFORMATEX* InputFormat::WaveFormat ( ) const [inline]

Retrieves the wave format for this input format

Returns:
The waveformat from the vector

Member Data Documentation

ComType<IWMInputMediaProps> InputFormat::pProps

The media properties for this format

std::vector<BYTE> InputFormat::wfx

Buffer holding the WAVEFORMATEX struct


The documentation for this struct was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Events Defines