CMMFChannelAndSampleRateConverterFactory Class Reference

class CMMFChannelAndSampleRateConverterFactory : public CBase

Factory class to create the appropriate CMMFChannelAndSampleRateConverter-derived class depending on the supplied number of channels and bit rate

Inherits from

  • CMMFChannelAndSampleRateConverterFactory

Constructor & Destructor Documentation

~CMMFChannelAndSampleRateConverterFactory()

IMPORT_C~CMMFChannelAndSampleRateConverterFactory()

Member Functions Documentation

Channels()

TInt Channels()[inline]

Converter()

CMMFChannelAndSampleRateConverter *Converter()[inline]

CreateConverterL(TInt, TInt, TInt, TInt)

IMPORT_C CMMFChannelAndSampleRateConverter *CreateConverterL(TIntaFromRate,
TIntaFromChannels,
TIntaToRate,
TIntaToChannels
)

Parameters

TInt aFromRate
TInt aFromChannels
TInt aToRate
TInt aToChannels

CreateConverterL()

IMPORT_C CMMFChannelAndSampleRateConverter *CreateConverterL()

Rate()

TInt Rate()[inline]

Member Data Documentation

CMMFChannelAndSampleRateConverter * iConverter

CMMFChannelAndSampleRateConverter *iConverter[private]

TInt iFromChannels

TInt iFromChannels

The number of channels of data in the source buffer

TInt iFromRate

TInt iFromRate

The sample rate of the data in the source buffer

TInt iToChannels

TInt iToChannels

The number of channels of data in the destination buffer

TInt iToRate

TInt iToRate

The sample rate of the data in the destination buffer